public interface

OStructuralObject

implements OObject
org.odata4j.core.OStructuralObject
Known Indirect Subclasses

Summary

Public Methods
abstract List<OProperty<?>> getProperties()
Get all properties of this instance.
abstract <T> OProperty<T> getProperty(String propName, Class<T> propClass)
Get a property by name as a strongly-typed OProperty.
abstract OProperty<?> getProperty(String propName)
Get a property by name.
[Expand]
Inherited Methods
From interface org.odata4j.core.OObject

Public Methods

public abstract List<OProperty<?>> getProperties ()

Get all properties of this instance.

Returns
  • the properties

public abstract OProperty<T> getProperty (String propName, Class<T> propClass)

Get a property by name as a strongly-typed OProperty.

Parameters
propName The property name
propClass The java-type of the property
Returns
  • the property

public abstract OProperty<?> getProperty (String propName)

Get a property by name.

Parameters
propName The property name
Returns
  • the property