Methods in org.odata4j.producer.inmemory with parameters of type PropertyModel |
protected void |
InMemoryProducer.addPropertiesFromObject(Object obj,
PropertyModel propertyModel,
EdmStructuralType structuralType,
List<OProperty<?>> properties,
PropertyPathHelper pathHelper)
Transforms a POJO into a list of OProperties based on a given
EdmStructuralType. |
static boolean |
InMemoryEvaluation.evaluate(BoolCommonExpression expression,
Object target,
PropertyModel properties)
|
static Object |
InMemoryEvaluation.evaluate(CommonExpression expression,
Object target,
PropertyModel properties)
|
protected
|
InMemoryProducer.fillInPojo(OStructuralObject sobj,
EdmStructuralType stype,
PropertyModel propertyModel,
Class<T> pojoClass)
Populates a new POJO instance of type pojoClass using data from the given structural object. |
protected EntitiesResponse |
InMemoryProducer.getEntitiesResponse(InMemoryProducer.RequestContext rc,
EdmEntitySet targetEntitySet,
Enumerable<Object> objects,
PropertyModel propertyModel)
|
|
InMemoryProducer.register(Class<TEntity> entityClass,
PropertyModel propertyModel,
String entitySetName,
Func<Iterable<TEntity>> get,
String... keys)
Registers a new entity set based on a POJO type and a property model. |
|
InMemoryProducer.register(Class<TEntity> entityClass,
PropertyModel propertyModel,
String entitySetName,
String entityTypeName,
Func<Iterable<TEntity>> get,
Func1<InMemoryProducer.RequestContext,Iterable<TEntity>> getWithContext,
String... keys)
|
|
InMemoryProducer.register(Class<TEntity> entityClass,
PropertyModel propertyModel,
String entitySetName,
String entityTypeName,
Func<Iterable<TEntity>> get,
String... keys)
|
|
InMemoryProducer.registerComplexType(Class<TEntity> complexTypeClass,
String typeName,
PropertyModel propertyModel)
|