|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OEntity
An immutable OData entity instance, consisting of an identity (an entity-set and a unique entity-key within that set), properties (typed, named values), and links (references to other entities).
The OEntities
static factory class can be used to create OEntity
instances.
OEntities
Method Summary | ||
---|---|---|
EdmEntitySet |
getEntitySet()
Gets the entity-set of this instance. |
|
String |
getEntityTag()
An optional opaque token used for concurrency control. |
|
EdmEntityType |
getEntityType()
Gets the entity type of this instance. |
|
|
getLink(String title,
Class<T> linkClass)
Gets a link with a given name and link-type. |
|
List<OLink> |
getLinks()
Gets all links of this instance. |
Methods inherited from interface org.odata4j.core.OEntityId |
---|
getEntityKey, getEntitySetName |
Methods inherited from interface org.odata4j.core.OStructuralObject |
---|
getProperties, getProperty, getProperty |
Methods inherited from interface org.odata4j.core.OObject |
---|
getType |
Methods inherited from interface org.odata4j.core.OExtensible |
---|
findExtension |
Method Detail |
---|
EdmEntitySet getEntitySet()
String getEntityTag()
EdmEntityType getEntityType()
<T extends OLink> T getLink(String title, Class<T> linkClass)
T
- the link-type as a java-typetitle
- the link titlelinkClass
- the link-type as a java-type
List<OLink> getLinks()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |