org.odata4j.producer.inmemory
Class EnumsAsStringsPropertyModelDelegate

java.lang.Object
  extended by org.odata4j.producer.inmemory.PropertyModelDelegate
      extended by org.odata4j.producer.inmemory.EnumsAsStringsPropertyModelDelegate
All Implemented Interfaces:
Delegate<PropertyModel>, PropertyModel

public class EnumsAsStringsPropertyModelDelegate
extends PropertyModelDelegate


Constructor Summary
EnumsAsStringsPropertyModelDelegate(PropertyModel propertyModel)
           
 
Method Summary
 Class<?> getCollectionElementType(String collectionName)
           
 Iterable<?> getCollectionValue(Object target, String collectionName)
           
 PropertyModel getDelegate()
           
 Class<?> getPropertyType(String propertyName)
           
 Object getPropertyValue(Object target, String propertyName)
           
 void setPropertyValue(Object target, String propertyName, Object value)
           
 
Methods inherited from class org.odata4j.producer.inmemory.PropertyModelDelegate
getCollectionNames, getDeclaredCollectionNames, getDeclaredPropertyNames, getPropertyNames, setCollectionValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumsAsStringsPropertyModelDelegate

public EnumsAsStringsPropertyModelDelegate(PropertyModel propertyModel)
Method Detail

getCollectionElementType

public Class<?> getCollectionElementType(String collectionName)
Specified by:
getCollectionElementType in interface PropertyModel
Overrides:
getCollectionElementType in class PropertyModelDelegate

getCollectionValue

public Iterable<?> getCollectionValue(Object target,
                                      String collectionName)
Specified by:
getCollectionValue in interface PropertyModel
Overrides:
getCollectionValue in class PropertyModelDelegate

getDelegate

public PropertyModel getDelegate()

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

setPropertyValue

public void setPropertyValue(Object target,
                             String propertyName,
                             Object value)
Specified by:
setPropertyValue in interface PropertyModel
Overrides:
setPropertyValue in class PropertyModelDelegate


http://odata4j.org