Package | Description |
---|---|
org.apache.olingo.odata2.api.edm |
Entity Data Model API
The Entity Data Model is described in the OData protocol specification
as well as in the Conceptual Schema Definition for the OData Protocol.
|
org.apache.olingo.odata2.api.ep |
Entity Provider
The org.apache.olingo.odata2.api.ep package contains all classes related and necessary to provide an
EntityProvider . |
org.apache.olingo.odata2.api.uri |
URI Parser Facade
The URI package has one central class
UriParser to parse a request URI
as well as several interfaces that provide access to parsed parts of the URI. |
org.apache.olingo.odata2.api.uri.info |
URI Parser Result Views
The interfaces of this package provide access to the relevant parts of the parsed
request URI for the methods that process a request inside the dispatcher.
|
org.apache.olingo.odata2.client.api.uri | |
org.apache.olingo.odata2.client.core.edm.Impl | |
org.apache.olingo.odata2.client.core.ep.deserializer | |
org.apache.olingo.odata2.client.core.uri | |
org.apache.olingo.odata2.ref.processor |
Modifier and Type | Method and Description |
---|---|
List<EdmProperty> |
EdmEntityType.getKeyProperties()
Get all key properties as list of
EdmProperty . |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
EntityProvider.readProperty(String contentType,
EdmProperty edmProperty,
InputStream content,
EntityProviderReadProperties properties)
Read (de-serialize) properties from
content (as InputStream ) in specified format (given as
contentType )
based on entity data model (given as EdmProperty ) and provide this data as Map which
contains
the read data in form of property name to property value mapping. |
Map<String,Object> |
EntityProvider.EntityProviderInterface.readProperty(String contentType,
EdmProperty edmProperty,
InputStream content,
EntityProviderReadProperties properties)
Read (de-serialize) properties from
content (as InputStream ) in specified format (given as
contentType )
based on entity data model (given as EdmProperty ) and provide this data as Map which
contains
the read data in form of property name to property value mapping. |
static Object |
EntityProvider.readPropertyValue(EdmProperty edmProperty,
InputStream content)
Read (de-serialize) a property value from
content (as InputStream ) in format
text/plain
based on entity data model (given as EdmProperty ) and provide this data as Object . |
static Object |
EntityProvider.readPropertyValue(EdmProperty edmProperty,
InputStream content,
Class<?> typeMapping)
Read (de-serialize) a property value from
content (as InputStream ) in format
text/plain
based on entity data model (given as EdmProperty ) and provide this data as Object . |
Object |
EntityProvider.EntityProviderInterface.readPropertyValue(EdmProperty edmProperty,
InputStream content,
Class<?> typeMapping)
Read (de-serialize) a property value from
content (as InputStream ) in format
text/plain
based on entity data model (given as EdmProperty ) and provide this data as Object . |
static ODataResponse |
EntityProvider.writeProperty(String contentType,
EdmProperty edmProperty,
Object value)
Write given
value (which is given in form of an Object ) for the property in the specified
format (given as contentType ) based on given entity data model for an entity property
(given as EdmProperty ). |
ODataResponse |
EntityProvider.EntityProviderInterface.writeProperty(String contentType,
EdmProperty edmProperty,
Object value)
Write given
value (which is given in form of an Object ) for the property in the specified
format (given as contentType ) based on given entity data model for an entity property
(given as EdmProperty ). |
static ODataResponse |
EntityProvider.writePropertyValue(EdmProperty edmProperty,
Object value)
Write property as content type
application/octet-stream or text/plain . |
ODataResponse |
EntityProvider.EntityProviderInterface.writePropertyValue(EdmProperty edmProperty,
Object value)
Write property as content type
application/octet-stream or text/plain . |
Modifier and Type | Method and Description |
---|---|
EdmProperty |
KeyPredicate.getProperty()
Gets the key property.
|
EdmProperty |
SelectItem.getProperty()
Gets the EDM property.
|
Modifier and Type | Method and Description |
---|---|
abstract List<EdmProperty> |
ExpandSelectTreeNode.getProperties()
Gets the list of explicitly selected
properties . |
List<EdmProperty> |
UriInfo.getPropertyPath()
Gets the path used to select a (simple or complex) property of an entity,
or an empty list if no property is accessed.
|
Modifier and Type | Method and Description |
---|---|
List<EdmProperty> |
PutMergePatchUriInfo.getPropertyPath()
Gets the path used to select a (simple or complex) property of an entity,
or an empty list if no property is accessed.
|
List<EdmProperty> |
GetComplexPropertyUriInfo.getPropertyPath()
Gets the path used to select a (simple or complex) property of an entity,
or an empty list if no property is accessed.
|
List<EdmProperty> |
DeleteUriInfo.getPropertyPath()
Gets the path used to select a (simple or complex) property of an entity,
or an empty list if no property is accessed.
|
List<EdmProperty> |
GetSimplePropertyUriInfo.getPropertyPath()
Gets the path used to select a (simple or complex) property of an entity,
or an empty list if no property is accessed.
|
Modifier and Type | Method and Description |
---|---|
EdmURIBuilder |
EdmURIBuilder.appendKeySegment(EdmProperty property,
Object value)
Appends key segment to the URI.
|
EdmURIBuilder |
EdmURIBuilder.appendPropertySegment(EdmProperty property,
String segmentValue)
Appends property segment to the URI.
|
Modifier and Type | Method and Description |
---|---|
EdmURIBuilder |
EdmURIBuilder.appendKeySegment(Map<EdmProperty,Object> segmentValues)
Appends key segment to the URI, for multiple keys.
|
Modifier and Type | Class and Description |
---|---|
class |
EdmComplexPropertyImpl
Objects of this class represent ComplexProperty
|
class |
EdmPropertyImpl
Objects of this class represent EdmProperty
|
class |
EdmPropertyRefImpl
Objects of this class represent a reference to a property via its name
|
class |
EdmSimplePropertyImpl
Objects of this class represent EdmSimpleProperty
|
Modifier and Type | Method and Description |
---|---|
List<EdmProperty> |
EdmEntityTypeImpl.getKeyProperties() |
List<EdmProperty> |
EdmKeyImpl.getKeys() |
List<EdmProperty> |
EdmStructuralTypeImpl.getProperties() |
Modifier and Type | Method and Description |
---|---|
void |
EdmEntityTypeImpl.setEdmKeyProperties(List<EdmProperty> edmKeyProperties) |
EdmKeyImpl |
EdmKeyImpl.setKeys(List<EdmProperty> keys)
|
void |
EdmStructuralTypeImpl.setProperties(List<EdmProperty> properties) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
XmlPropertyDeserializer.readProperty(XMLStreamReader reader,
EdmProperty property,
DeserializerProperties readProperties)
Read property of every entry in a payload
|
Map<String,Object> |
JsonPropertyDeserializer.readPropertyStandalone(com.google.gson.stream.JsonReader reader,
EdmProperty edmProperty,
DeserializerProperties readProperties)
Deserializes Property
|
Modifier and Type | Method and Description |
---|---|
EdmURIBuilder |
EdmURIBuilderImpl.appendKeySegment(EdmProperty property,
Object value) |
EdmURIBuilder |
EdmURIBuilderImpl.appendPropertySegment(EdmProperty property,
String segmentValue) |
Modifier and Type | Method and Description |
---|---|
EdmURIBuilder |
EdmURIBuilderImpl.appendKeySegment(Map<EdmProperty,Object> segmentValues) |
protected String |
EdmURIBuilderImpl.buildMultiKeySegment(Map<EdmProperty,Object> segmentValues,
char separator) |
Modifier and Type | Method and Description |
---|---|
<T> Class<?> |
BeanPropertyAccess.getPropertyType(T data,
EdmProperty property) |
<T> Object |
BeanPropertyAccess.getPropertyValue(T data,
EdmProperty property) |
<T,V> void |
BeanPropertyAccess.setPropertyValue(T data,
EdmProperty property,
V value) |
Copyright © 2013-2019 The Apache Software Foundation. All Rights Reserved.