org.odata4j.producer.inmemory
Class BeanModel

java.lang.Object
  extended by org.odata4j.producer.inmemory.BeanModel

public class BeanModel
extends Object


Constructor Summary
BeanModel(Class<?> beanClass)
           
 
Method Summary
 boolean canRead(String propertyName)
           
 boolean canWrite(String propertyName)
           
 Class<?> getBeanClass()
           
 Iterable<String> getPropertyNames()
           
 Class<?> getPropertyType(String propertyName)
           
 Object getPropertyValue(Object target, String propertyName)
           
 void setPropertyValue(Object target, String propertyName, Object propertyValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanModel

public BeanModel(Class<?> beanClass)
Method Detail

canRead

public boolean canRead(String propertyName)

canWrite

public boolean canWrite(String propertyName)

getBeanClass

public Class<?> getBeanClass()

getPropertyNames

public Iterable<String> getPropertyNames()

getPropertyType

public Class<?> getPropertyType(String propertyName)

getPropertyValue

public Object getPropertyValue(Object target,
                               String propertyName)

setPropertyValue

public void setPropertyValue(Object target,
                             String propertyName,
                             Object propertyValue)


http://odata4j.org