org.odata4j.core
Interface OStructuralObject

All Superinterfaces:
OObject
All Known Subinterfaces:
OComplexObject, OEntity

public interface OStructuralObject
extends OObject

An OData instance object with properties.

See Also:
OComplexObject, OEntity

Method Summary
 List<OProperty<?>> getProperties()
          Gets all properties of this instance.
 OProperty<?> getProperty(String propName)
          Gets a property by name.
<T> OProperty<T>
getProperty(String propName, Class<T> propClass)
          Gets a property by name as a strongly-typed OProperty.
 
Methods inherited from interface org.odata4j.core.OObject
getType
 

Method Detail

getProperties

List<OProperty<?>> getProperties()
Gets all properties of this instance.

Returns:
the properties

getProperty

OProperty<?> getProperty(String propName)
Gets a property by name.

Parameters:
propName - the property name
Returns:
the property

getProperty

<T> OProperty<T> getProperty(String propName,
                             Class<T> propClass)
Gets a property by name as a strongly-typed OProperty.

Type Parameters:
T - the java-type of the property
Parameters:
propName - the property name
propClass - the java-type of the property
Returns:
the property


http://odata4j.org