public abstract class AbstractStructuredInvocationHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected URI |
baseURI |
protected EntityInvocationHandler |
entityHandler |
protected Object |
internal |
protected Map<NavigationProperty,Object> |
linkCache |
protected Map<NavigationProperty,Object> |
linkChanges |
protected int |
linksTag |
protected static org.slf4j.Logger |
LOG
Logger.
|
protected int |
propertiesTag |
protected Map<String,Object> |
propertyCache |
protected Map<String,Object> |
propertyChanges |
protected AbstractService<?> |
service |
protected Map<String,EdmStreamValue> |
streamedPropertyCache |
protected Map<String,EdmStreamValue> |
streamedPropertyChanges |
protected Class<?> |
typeRef |
protected CommonURIBuilder<?> |
uri |
Modifier | Constructor and Description |
---|---|
protected |
AbstractStructuredInvocationHandler(Class<?> typeRef,
AbstractService<?> service) |
protected |
AbstractStructuredInvocationHandler(Class<?> typeRef,
Object internal,
AbstractService<?> service) |
protected |
AbstractStructuredInvocationHandler(Class<?> typeRef,
Object internal,
EntityInvocationHandler entityHandler) |
protected CommonURIBuilder<?> uri
protected URI baseURI
protected final Class<?> typeRef
protected EntityInvocationHandler entityHandler
protected Object internal
protected final Map<NavigationProperty,Object> linkChanges
protected final Map<NavigationProperty,Object> linkCache
protected int propertiesTag
protected int linksTag
protected final Map<String,EdmStreamValue> streamedPropertyChanges
protected final Map<String,EdmStreamValue> streamedPropertyCache
protected static final org.slf4j.Logger LOG
protected AbstractService<?> service
protected AbstractStructuredInvocationHandler(Class<?> typeRef, AbstractService<?> service)
protected AbstractStructuredInvocationHandler(Class<?> typeRef, Object internal, AbstractService<?> service)
protected AbstractStructuredInvocationHandler(Class<?> typeRef, Object internal, EntityInvocationHandler entityHandler)
public Object getInternal()
public EntityInvocationHandler getEntityHandler()
public void setEntityHandler(EntityInvocationHandler entityHandler)
public Class<?> getTypeRef()
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
Throwable
public void delete(String name)
public void delete()
protected void attach()
protected void attach(AttachedEntityStatus status)
protected void attach(AttachedEntityStatus status, boolean override)
protected abstract Object getNavigationPropertyValue(NavigationProperty property, Method getter)
protected Object retrieveNavigationProperty(NavigationProperty property, Method getter)
public Collection<String> readAdditionalPropertyNames()
public Map<NavigationProperty,Object> getLinkChanges()
public void removeAdditionalProperty(String name)
protected void addLinkChanges(NavigationProperty navProp, Object value)
protected void updatePropertiesTag(int checkpoint)
protected void updateLinksTag(int checkpoint)
public Map<String,EdmStreamValue> getStreamedPropertyChanges()
public Map<String,AnnotatableInvocationHandler> getPropAnnotatableHandlers()
public void putPropAnnotatableHandler(String propName, AnnotatableInvocationHandler handler)
public Map<String,AnnotatableInvocationHandler> getNavPropAnnotatableHandlers()
public void putNavPropAnnotatableHandler(String navPropName, AnnotatableInvocationHandler handler)
public void expand(String... expand)
public void select(String... select)
public void refs()
public void clearQueryOptions()
protected abstract void load()
public abstract boolean isChanged()
protected abstract <T extends CommonODataProperty> List<T> getInternalProperties()
protected abstract CommonODataProperty getInternalProperty(String name)
protected CommonEdmEnabledODataClient<?> getClient()
protected Context getContext()
protected Object invokeSelfMethod(Method method, Object[] args) throws Throwable
Throwable
protected ComplexType<?> getComplex(String name, ODataValue 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 CommonURIBuilder<?> buildEntitySetURI(Class<?> ref, AbstractService<?> service)
protected static CommonURIBuilder<?> buildEntitySetURI(String containerNS, String entitySetName, AbstractService<?> service)
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.