org.odata4j.producer.inmemory
Class PropertyModelDelegate
java.lang.Object
org.odata4j.producer.inmemory.PropertyModelDelegate
- All Implemented Interfaces:
- Delegate<PropertyModel>, PropertyModel
- Direct Known Subclasses:
- EntityIdFunctionPropertyModelDelegate, EnumsAsStringsPropertyModelDelegate
public abstract class PropertyModelDelegate
- extends Object
- implements Delegate<PropertyModel>, PropertyModel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyModelDelegate
public PropertyModelDelegate()
getCollectionElementType
public Class<?> getCollectionElementType(String collectionName)
- Specified by:
getCollectionElementType
in interface PropertyModel
getCollectionNames
public Iterable<String> getCollectionNames()
- Description copied from interface:
PropertyModel
- gets the names of all collections defined by the model
- Specified by:
getCollectionNames
in interface PropertyModel
- Returns:
- - collection names
getCollectionValue
public Iterable<?> getCollectionValue(Object target,
String collectionName)
- Specified by:
getCollectionValue
in interface PropertyModel
getDeclaredCollectionNames
public Iterable<String> getDeclaredCollectionNames()
- Description copied from interface:
PropertyModel
- gets the names of collections defined only at this inheritance level
in the model
- Specified by:
getDeclaredCollectionNames
in interface PropertyModel
- Returns:
- - collection names
getDeclaredPropertyNames
public Iterable<String> getDeclaredPropertyNames()
- Description copied from interface:
PropertyModel
- gets the names of properties defined only at this inheritance level
in the model
- Specified by:
getDeclaredPropertyNames
in interface PropertyModel
- Returns:
- - property names
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
- Returns:
- - property names
getPropertyType
public Class<?> getPropertyType(String propertyName)
- Specified by:
getPropertyType
in interface PropertyModel
getPropertyValue
public Object getPropertyValue(Object target,
String propertyName)
- Specified by:
getPropertyValue
in interface PropertyModel
setCollectionValue
public void setCollectionValue(Object target,
String collectionName,
Collection<?> value)
- Specified by:
setCollectionValue
in interface PropertyModel
setPropertyValue
public void setPropertyValue(Object target,
String propertyName,
Object value)
- Specified by:
setPropertyValue
in interface PropertyModel
http://odata4j.org