|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odata4j.producer.Responses
public class Responses
A static factory to create immutable EntitiesResponse
, EntityResponse
, or PropertyResponse
instances.
Method Summary | |
---|---|
static EntitiesResponse |
entities(List<OEntity> entities,
EdmEntitySet entitySet,
Integer inlineCount,
String skipToken)
Create a new EntitiesResponse instance. |
static EntityResponse |
entity(OEntity entity)
Create a new EntityResponse instance. |
static PropertyResponse |
property(OProperty<?> property)
Create a new PropertyResponse instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static EntitiesResponse entities(List<OEntity> entities, EdmEntitySet entitySet, Integer inlineCount, String skipToken)
EntitiesResponse
instance.
entities
- the OData entities, if anyentitySet
- the entity-setinlineCount
- the inline-count value, if necessaryskipToken
- the continuation-token, if necessary
EntitiesResponse
instancepublic static EntityResponse entity(OEntity entity)
EntityResponse
instance.
entity
- the OData entity
EntityResponse
instancepublic static PropertyResponse property(OProperty<?> property)
PropertyResponse
instance.
property
- the property value
PropertyResponse
instance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |