Class EntityContainerInvocationHandler
java.lang.Object
org.apache.olingo.ext.proxy.commons.EntityContainerInvocationHandler
- All Implemented Interfaces:
InvocationHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.Logger
Logger.protected final String
protected AbstractService<?>
-
Method Summary
Modifier and TypeMethodDescriptionprotected static URIBuilder
buildEntitySetURI
(Class<?> ref, AbstractService<?> service) protected static URIBuilder
buildEntitySetURI
(String entitySetName, AbstractService<?> service) protected <S extends EntityType<?>>
voiddeleteEntity
(EntityInvocationHandler handler, URI entitySetURI) boolean
protected EdmEnabledODataClient
protected ComplexType<?>
getComplex
(String name, ClientValue value, Class<?> ref, EntityInvocationHandler handler, URI baseURI, boolean collectionItem) protected Context
protected String
getInstance
(Class<?> ref, AbstractService<?> service) protected String
protected AbstractService<?>
int
hashCode()
protected Object
invokeSelfMethod
(Method method, Object[] args) protected boolean
isDeleted
(EntityInvocationHandler handler) protected boolean
isSelfMethod
(Method method) <T extends ComplexType<?>,
NEC extends ComplexCollection<T, ?, ?>>
NECnewComplexCollection
(Class<NEC> ref) <NE extends ComplexType<?>>
NEnewComplexInstance
(Class<NE> ref) newEdmStreamValue
(String contentType, InputStream stream) <T extends EntityType<?>,
NEC extends EntityCollection<T, ?, ?>>
NECnewEntityCollection
(Class<NEC> ref) <NE extends EntityType<?>>
NEnewEntityInstance
(Class<NE> ref) <T extends Serializable,
NEC extends PrimitiveCollection<T>>
NECnewPrimitiveCollection
(Class<T> ref) toString()
-
Field Details
-
namespace
-
LOG
protected static final org.slf4j.Logger LOGLogger. -
service
-
-
Method Details
-
getInstance
public static EntityContainerInvocationHandler getInstance(Class<?> ref, AbstractService<?> service) -
getService
-
getEntityContainerName
-
getSchemaName
-
invoke
- Throws:
Throwable
-
newEntityInstance
-
newEntityCollection
public <T extends EntityType<?>,NEC extends EntityCollection<T, NEC newEntityCollection?, ?>> (Class<NEC> ref) -
newComplexInstance
-
newComplexCollection
public <T extends ComplexType<?>,NEC extends ComplexCollection<T, NEC newComplexCollection?, ?>> (Class<NEC> ref) -
newPrimitiveCollection
public <T extends Serializable,NEC extends PrimitiveCollection<T>> NEC newPrimitiveCollection(Class<T> ref) -
newEdmStreamValue
-
getClient
-
getContext
-
isSelfMethod
-
invokeSelfMethod
- Throws:
Throwable
-
getComplex
protected ComplexType<?> getComplex(String name, ClientValue value, Class<?> ref, EntityInvocationHandler handler, URI baseURI, boolean collectionItem) -
isDeleted
-
deleteEntity
protected <S extends EntityType<?>> void deleteEntity(EntityInvocationHandler handler, URI entitySetURI) -
buildEntitySetURI
-
buildEntitySetURI
-
equals
-
hashCode
public int hashCode() -
toString
-