Class ComplexInvocationHandler
java.lang.Object
org.apache.olingo.ext.proxy.commons.AbstractStructuredInvocationHandler
org.apache.olingo.ext.proxy.commons.ComplexInvocationHandler
- All Implemented Interfaces:
InvocationHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.Logger
Logger.protected AbstractService<?>
Fields inherited from class org.apache.olingo.ext.proxy.commons.AbstractStructuredInvocationHandler
baseURI, entityHandler, internal, linkCache, linkChanges, propertyCache, propertyChanges, streamedPropertyCache, streamedPropertyChanges, typeRef, uri
-
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
static ComplexInvocationHandler
getInstance
(Class<?> typeRef, AbstractService<?> service) static ComplexInvocationHandler
getInstance
(Class<?> typeRef, AbstractService<?> service, URIBuilder uri) static ComplexInvocationHandler
getInstance
(ClientComplexValue complex, Class<?> typeRef, AbstractService<?> service) static ComplexInvocationHandler
getInstance
(ClientComplexValue complex, Class<?> typeRef, AbstractService<?> service, URIBuilder uri) static ComplexInvocationHandler
getInstance
(EntityInvocationHandler handler, Class<?> typeRef) protected List<ClientProperty>
protected ClientProperty
getInternalProperty
(String name) protected Object
getNavigationPropertyValue
(NavigationProperty property, Method getter) int
hashCode()
protected Object
invokeSelfMethod
(Method method, Object[] args) protected boolean
isDeleted
(EntityInvocationHandler handler) protected boolean
isSelfMethod
(Method method) protected void
load()
toString()
Methods inherited from class org.apache.olingo.ext.proxy.commons.AbstractStructuredInvocationHandler
addAdditionalProperty, addLinkChanges, addPropertyChanges, applyChanges, applyChanges, applyChangesOnChildren, attach, attach, attach, clearQueryOptions, delete, delete, expand, getEntityHandler, getInternal, getLinkChanges, getNavPropAnnotatableHandlers, getPropAnnotatableHandlers, getPropertyChanges, getPropertyValue, getStreamedPropertyChanges, getStructuredInvocationHandler, getTypeRef, hasCachedPropertyChanged, hasDeepPropertyChanges, hasPropertyChanges, invoke, isChanged, putNavPropAnnotatableHandler, putPropAnnotatableHandler, readAdditionalProperty, readAdditionalPropertyNames, refs, removeAdditionalProperty, retrieveNavigationProperty, select, setEntityHandler, setPropertyValue
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOGLogger. -
service
-
-
Method Details
-
getInstance
public static ComplexInvocationHandler getInstance(EntityInvocationHandler handler, Class<?> typeRef) -
getInstance
public static ComplexInvocationHandler getInstance(ClientComplexValue complex, Class<?> typeRef, AbstractService<?> service) -
getInstance
-
getInstance
public static ComplexInvocationHandler getInstance(Class<?> typeRef, AbstractService<?> service, URIBuilder uri) -
getInstance
public static ComplexInvocationHandler getInstance(ClientComplexValue complex, Class<?> typeRef, AbstractService<?> service, URIBuilder uri) -
getComplex
-
load
protected void load()- Specified by:
load
in classAbstractStructuredInvocationHandler
-
getInternalProperties
- Specified by:
getInternalProperties
in classAbstractStructuredInvocationHandler
-
getInternalProperty
- Specified by:
getInternalProperty
in classAbstractStructuredInvocationHandler
-
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
-