public int getFieldIdx(String fieldName) { Index i = fieldInfo.get(fieldName); if (i == null) { throw DynamicException.invalidPropertyName(null, fieldName); } return i.idx; }
public int getFieldIdx(String fieldName) { Index i = fieldInfo.get(fieldName); if (i == null) { throw DynamicException.invalidPropertyName(null, fieldName); } return i.idx; }
public void checkSet(String propertyName, Object value) { if (contains(propertyName)) { type.checkSet(propertyName, value); } else { throw DynamicException.invalidPropertyName(type, propertyName); } }
public DatabaseMapping getMapping(String propertyName) { DatabaseMapping mapping = getDescriptor().getMappingForAttributeName(propertyName); if (mapping == null) { throw DynamicException.invalidPropertyName(this, propertyName); } return mapping; }
public void checkSet(String propertyName, Object value) { if (contains(propertyName)) { type.checkSet(propertyName, value); } else { throw DynamicException.invalidPropertyName(type, propertyName); } }
public DatabaseMapping getMapping(String propertyName) { DatabaseMapping mapping = getDescriptor().getMappingForAttributeName(propertyName); if (mapping == null) { throw DynamicException.invalidPropertyName(this, propertyName); } return mapping; }
public DatabaseMapping getMapping(String propertyName) { DatabaseMapping mapping = getDescriptor().getMappingForAttributeName(propertyName); if (mapping == null) { throw DynamicException.invalidPropertyName(this, propertyName); } return mapping; }
public boolean isSet(String propertyName) throws DynamicException { if (fetchPropertiesManager().contains(propertyName)) { if (_persistence_getFetchGroup() != null && !_persistence_getFetchGroup().containsAttributeInternal(propertyName)) { return false; } PropertyWrapper wrapper = propertiesMap.get(propertyName); if (wrapper == null) { // properties can be added after constructor is called wrapper = new PropertyWrapper(); propertiesMap.put(propertyName, wrapper); } return wrapper.isSet(); } else { throw DynamicException.invalidPropertyName(fetchPropertiesManager().getType(), propertyName); } }
public boolean isSet(String propertyName) throws DynamicException { if (fetchPropertiesManager().contains(propertyName)) { if (_persistence_getFetchGroup() != null && !_persistence_getFetchGroup().containsAttributeInternal(propertyName)) { return false; } PropertyWrapper wrapper = propertiesMap.get(propertyName); if (wrapper == null) { // properties can be added after constructor is called wrapper = new PropertyWrapper(); propertiesMap.put(propertyName, wrapper); } return wrapper.isSet(); } else { throw DynamicException.invalidPropertyName(fetchPropertiesManager().getType(), propertyName); } }
propertyName); if (errorMsg != null) { throw DynamicException.invalidPropertyName(dpm.getType(), propertyName);
propertyName); if (errorMsg != null) { throw DynamicException.invalidPropertyName(dpm.getType(), propertyName);
propertyName); if (errorMsg != null) { throw DynamicException.invalidPropertyName(dpm.getType(), propertyName); throw DynamicException.invalidPropertyName(dpm.getType(), propertyName);
propertyName); if (errorMsg != null) { throw DynamicException.invalidPropertyName(dpm.getType(), propertyName); throw DynamicException.invalidPropertyName(dpm.getType(), propertyName);