|
|||||||||
| 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,
EdmEntityType entityType,
OEntityKey entityKey,
List<OProperty<?>> properties,
List<OLink> links)
Creates a new entity. |
static OEntity |
create(EdmEntitySet entitySet,
EdmEntityType entityType,
OEntityKey entityKey,
List<OProperty<?>> properties,
List<OLink> links,
Object... extensions)
Creates a new entity. |
static OEntity |
create(EdmEntitySet entitySet,
EdmEntityType entityType,
OEntityKey entityKey,
String entityTag,
List<OProperty<?>> properties,
List<OLink> links)
Creates a new entity. |
static OEntity |
create(EdmEntitySet entitySet,
EdmEntityType entityType,
OEntityKey entityKey,
String entityTag,
List<OProperty<?>> properties,
List<OLink> links,
String title,
String categoryTerm)
Creates a new entity with additional Atom information. |
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,
Object... extensions)
Creates a new entity. |
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,
EdmEntityType entityType,
OEntityKey entityKey,
List<OProperty<?>> properties,
List<OLink> links)
entitySet - the entity-setentityType - the entity typeentityKey - the entity-keyproperties - the entity properties, if anylinks - the entity links, if any
public static OEntity create(EdmEntitySet entitySet,
EdmEntityType entityType,
OEntityKey entityKey,
List<OProperty<?>> properties,
List<OLink> links,
Object... extensions)
entitySet - the entity-setentityKey - the entity-keyproperties - the entity properties, if anylinks - the entity links, if anyextensions - entity extensions, if any
public static OEntity create(EdmEntitySet entitySet,
EdmEntityType entityType,
OEntityKey entityKey,
String entityTag,
List<OProperty<?>> properties,
List<OLink> links)
entitySet - the entity-setentityType - the entity typeentityKey - the entity-keyentityTag - the entity-tagproperties - the entity properties, if anylinks - the entity links, if any
public static OEntity create(EdmEntitySet entitySet,
EdmEntityType entityType,
OEntityKey entityKey,
String entityTag,
List<OProperty<?>> properties,
List<OLink> links,
String title,
String categoryTerm)
entitySet - the entity-setentityType - the entity typeentityKey - the entity-keyentityTag - the entity-tag, if applicableproperties - the entity properties, if anylinks - the entity links, if anytitle - the Atom titlecategoryTerm - the Atom category term
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,
Object... extensions)
entitySet - the entity-setentityKey - the entity-keyproperties - the entity properties, if anylinks - the entity links, if anyextensions - entity extensions, if any
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 | ||||||||