|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odata4j.core.OEntities
public class OEntities
A static factory to create immutable OEntity
instances.
Method Summary | |
---|---|
static OEntity |
create(EdmEntitySet entitySet,
OEntityKey entityKey,
List<OProperty<?>> properties,
List<OLink> links)
Creates a new entity. |
static OEntity |
create(EdmEntitySet entitySet,
OEntityKey entityKey,
List<OProperty<?>> properties,
List<OLink> links,
String title,
String categoryTerm)
Creates a new entity with additional Atom information. |
static OEntity |
createRequest(EdmEntitySet entitySet,
List<OProperty<?>> properties,
List<OLink> links)
Creates a new request-entity. |
static OEntity |
createRequest(EdmEntitySet entitySet,
List<OProperty<?>> properties,
List<OLink> links,
String title,
String categoryTerm)
Creates a new request-entity with additional Atom information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static OEntity create(EdmEntitySet entitySet, OEntityKey entityKey, List<OProperty<?>> properties, List<OLink> links)
entitySet
- the entity-setentityKey
- the entity-keyproperties
- the entity properties, if anylinks
- the entity links, if any
public static OEntity create(EdmEntitySet entitySet, OEntityKey entityKey, List<OProperty<?>> properties, List<OLink> links, String title, String categoryTerm)
entitySet
- the entity-setentityKey
- the entity-keyproperties
- the entity properties, if anylinks
- the entity links, if anytitle
- the Atom titlecategoryTerm
- the Atom category term
public static OEntity createRequest(EdmEntitySet entitySet, List<OProperty<?>> properties, List<OLink> links)
A request-entity is a new entity that has not yet been created in an OData service, and therefore allowed to not have an entity-key.
entitySet
- the entity-setproperties
- the entity properties, if anylinks
- the entity links, if any
public static OEntity createRequest(EdmEntitySet entitySet, List<OProperty<?>> properties, List<OLink> links, String title, String categoryTerm)
A request-entity is a new entity that has not yet been created in an OData service, and therefore allowed to not have an entity-key.
entitySet
- the entity-setproperties
- the entity properties, if anylinks
- the entity links, if anytitle
- the Atom titlecategoryTerm
- the Atom category term
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |