public class AnnotatableInvocationHandler extends Object implements Annotatable
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG
Logger.
|
protected AbstractService<?> |
service |
| Constructor and Description |
|---|
AnnotatableInvocationHandler(AbstractService<?> service,
String propName,
String navPropName,
EntityInvocationHandler entityHandler,
AbstractStructuredInvocationHandler targetHandler) |
protected static final org.slf4j.Logger LOG
protected AbstractService<?> service
public AnnotatableInvocationHandler(AbstractService<?> service, String propName, String navPropName, EntityInvocationHandler entityHandler, AbstractStructuredInvocationHandler targetHandler)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic Map<Class<? extends AbstractTerm>,Object> getAnnotations()
public void addAnnotation(Class<? extends AbstractTerm> term, Object value)
addAnnotation in interface Annotatablepublic void removeAnnotation(Class<? extends AbstractTerm> term)
removeAnnotation in interface Annotatablepublic Object readAnnotation(Class<? extends AbstractTerm> term)
readAnnotation in interface Annotatablepublic Collection<Class<? extends AbstractTerm>> readAnnotationTerms()
readAnnotationTerms in interface Annotatableprotected EdmEnabledODataClient getClient()
protected Context getContext()
protected boolean isSelfMethod(Method method)
protected Object invokeSelfMethod(Method method, Object[] args) throws Throwable
Throwableprotected ComplexType<?> getComplex(String name, ClientValue value, Class<?> ref, EntityInvocationHandler handler, URI baseURI, boolean collectionItem)
protected boolean isDeleted(EntityInvocationHandler handler)
protected <S extends EntityType<?>> void deleteEntity(EntityInvocationHandler handler, URI entitySetURI)
protected static URIBuilder buildEntitySetURI(Class<?> ref, AbstractService<?> service)
protected static URIBuilder buildEntitySetURI(String entitySetName, AbstractService<?> service)
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.