org.odata4j.producer.inmemory
Class EntityIdFunctionPropertyModelDelegate<TEntity,TKey>
java.lang.Object
org.odata4j.producer.inmemory.PropertyModelDelegate
org.odata4j.producer.inmemory.EntityIdFunctionPropertyModelDelegate<TEntity,TKey>
- All Implemented Interfaces:
- Delegate<PropertyModel>, PropertyModel
public class EntityIdFunctionPropertyModelDelegate<TEntity,TKey>
- extends PropertyModelDelegate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityIdFunctionPropertyModelDelegate
public EntityIdFunctionPropertyModelDelegate(PropertyModel propertyModel,
String idPropertyName,
Class<TKey> idPropertyType,
Func1<TEntity,TKey> id)
getDelegate
public PropertyModel getDelegate()
getPropertyNames
public Iterable<String> getPropertyNames()
- Description copied from interface:
PropertyModel
- gets the names of all properties defined by the model
- Specified by:
getPropertyNames
in interface PropertyModel
- Overrides:
getPropertyNames
in class PropertyModelDelegate
- Returns:
- - property names
getPropertyType
public Class<?> getPropertyType(String propertyName)
- Specified by:
getPropertyType
in interface PropertyModel
- Overrides:
getPropertyType
in class PropertyModelDelegate
getPropertyValue
public Object getPropertyValue(Object target,
String propertyName)
- Specified by:
getPropertyValue
in interface PropertyModel
- Overrides:
getPropertyValue
in class PropertyModelDelegate
http://odata4j.org