required = (Boolean) reqValue;
} else {
required = reqValue instanceof String && Boolean.parseBoolean((String) reqValue);
}
pbuild.required(required);
final Object defObj = itemmeta.get(CONFIG_DEFAULT);
pbuild.defaultValue(null != defObj ? defObj.toString() : null);