Class AnnotatableInvocationHandler
java.lang.Object
org.apache.olingo.ext.proxy.commons.AnnotatableInvocationHandler
- All Implemented Interfaces:
Serializable
,InvocationHandler
,Annotatable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.Logger
Logger.protected AbstractService<?>
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotatableInvocationHandler
(AbstractService<?> service, String propName, String navPropName, EntityInvocationHandler entityHandler, AbstractStructuredInvocationHandler targetHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAnnotation
(Class<? extends AbstractTerm> term, Object value) protected 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
Map<Class<? extends AbstractTerm>,
Object> protected EdmEnabledODataClient
protected ComplexType<?>
getComplex
(String name, ClientValue value, Class<?> ref, EntityInvocationHandler handler, URI baseURI, boolean collectionItem) protected Context
int
hashCode()
protected Object
invokeSelfMethod
(Method method, Object[] args) protected boolean
isDeleted
(EntityInvocationHandler handler) protected boolean
isSelfMethod
(Method method) readAnnotation
(Class<? extends AbstractTerm> term) Collection<Class<? extends AbstractTerm>>
void
removeAnnotation
(Class<? extends AbstractTerm> term) toString()
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOGLogger. -
service
-
-
Constructor Details
-
AnnotatableInvocationHandler
public AnnotatableInvocationHandler(AbstractService<?> service, String propName, String navPropName, EntityInvocationHandler entityHandler, AbstractStructuredInvocationHandler targetHandler)
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
getAnnotations
-
addAnnotation
- Specified by:
addAnnotation
in interfaceAnnotatable
-
removeAnnotation
- Specified by:
removeAnnotation
in interfaceAnnotatable
-
readAnnotation
- Specified by:
readAnnotation
in interfaceAnnotatable
-
readAnnotationTerms
- Specified by:
readAnnotationTerms
in interfaceAnnotatable
-
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
-