Class BeanPropertyAccess
- java.lang.Object
-
- org.apache.olingo.odata2.ref.processor.BeanPropertyAccess
-
public class BeanPropertyAccess extends Object
Data access.
-
-
Constructor Summary
Constructors Constructor Description BeanPropertyAccess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> ObjectgetMappingValue(T data, EdmMapping mapping)<T> Class<?>getPropertyType(T data, EdmProperty property)<T> ObjectgetPropertyValue(T data, EdmProperty property)<T,V>
voidsetMappingValue(T data, EdmMapping mapping, V value)<T,V>
voidsetPropertyValue(T data, EdmProperty property, V value)
-
-
-
Method Detail
-
getPropertyValue
public <T> Object getPropertyValue(T data, EdmProperty property) throws ODataException
- Throws:
ODataException
-
setPropertyValue
public <T,V> void setPropertyValue(T data, EdmProperty property, V value) throws ODataException- Throws:
ODataException
-
getPropertyType
public <T> Class<?> getPropertyType(T data, EdmProperty property) throws ODataException
- Throws:
ODataException
-
getMappingValue
public <T> Object getMappingValue(T data, EdmMapping mapping) throws ODataException
- Throws:
ODataException
-
setMappingValue
public <T,V> void setMappingValue(T data, EdmMapping mapping, V value) throws ODataException- Throws:
ODataException
-
-