public boolean isProperty(String property) { return getPropertyNames().contains(property); }
public boolean isProperty(String property) { return getPropertyNames().contains(property); }
private static void validatePropertyNames(Bean bean) { Schema schema = bean.getSchema(); Set<String> schemaPropertyNames = schema.getPropertyNames(); for (String name : bean.getPropertyNames()) { if (!schemaPropertyNames.contains(name)) { throw Events.CFG110_PROP_NOT_EXIST_IN_SCHEMA(name); } } }
private void constructBean(Config properties, Schema schema, Bean bean, Map<String, Schema> schemas) { bean.set(schemas.get(bean.getId().getSchemaName())); for (String propertyName : schema.getPropertyNames()) { Object value; try {
for (String name : schema.getPropertyNames()) { List<String> values = props.get(name); if (values == null) {