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.LoggerLogger.protected AbstractService<?> -
Constructor Summary
ConstructorsConstructorDescriptionAnnotatableInvocationHandler(AbstractService<?> service, String propName, String navPropName, EntityInvocationHandler entityHandler, AbstractStructuredInvocationHandler targetHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnnotation(Class<? extends AbstractTerm> term, Object value) protected static URIBuilderbuildEntitySetURI(Class<?> ref, AbstractService<?> service) protected static URIBuilderbuildEntitySetURI(String entitySetName, AbstractService<?> service) protected <S extends EntityType<?>>
voiddeleteEntity(EntityInvocationHandler handler, URI entitySetURI) booleanMap<Class<? extends AbstractTerm>,Object> protected EdmEnabledODataClientprotected ComplexType<?>getComplex(String name, ClientValue value, Class<?> ref, EntityInvocationHandler handler, URI baseURI, boolean collectionItem) protected ContextinthashCode()protected ObjectinvokeSelfMethod(Method method, Object[] args) protected booleanisDeleted(EntityInvocationHandler handler) protected booleanisSelfMethod(Method method) readAnnotation(Class<? extends AbstractTerm> term) Collection<Class<? extends AbstractTerm>>voidremoveAnnotation(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:
invokein interfaceInvocationHandler- Throws:
Throwable
-
getAnnotations
-
addAnnotation
- Specified by:
addAnnotationin interfaceAnnotatable
-
removeAnnotation
- Specified by:
removeAnnotationin interfaceAnnotatable
-
readAnnotation
- Specified by:
readAnnotationin interfaceAnnotatable
-
readAnnotationTerms
- Specified by:
readAnnotationTermsin 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
-