public class ComplexInvocationHandler extends AbstractStructuredInvocationHandler
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG
Logger.
|
protected AbstractService<?> |
service |
baseURI, entityHandler, internal, linkCache, linkChanges, linksTag, propertiesTag, propertyCache, propertyChanges, streamedPropertyCache, streamedPropertyChanges, typeRef, uri
addAdditionalProperty, addLinkChanges, addPropertyChanges, attach, attach, attach, clearQueryOptions, delete, delete, expand, getEntityHandler, getInternal, getLinkChanges, getNavPropAnnotatableHandlers, getPropAnnotatableHandlers, getPropertyChanges, getPropertyValue, getStreamedPropertyChanges, getTypeRef, invoke, putNavPropAnnotatableHandler, putPropAnnotatableHandler, readAdditionalProperty, readAdditionalPropertyNames, refs, removeAdditionalProperty, retrieveNavigationProperty, select, setEntityHandler, setPropertyValue, updateLinksTag, updatePropertiesTag
protected static final org.slf4j.Logger LOG
protected AbstractService<?> service
public static ComplexInvocationHandler getInstance(String propertyName, EntityInvocationHandler handler, Class<?> typeRef)
public static ComplexInvocationHandler getInstance(ClientComplexValue complex, Class<?> typeRef, AbstractService<?> service)
public static ComplexInvocationHandler getInstance(Class<?> typeRef, AbstractService<?> service)
public static ComplexInvocationHandler getInstance(Class<?> typeRef, AbstractService<?> service, URIBuilder uri)
public static ComplexInvocationHandler getInstance(ClientComplexValue complex, Class<?> typeRef, AbstractService<?> service, URIBuilder uri)
public ClientComplexValue getComplex()
protected Object getNavigationPropertyValue(NavigationProperty property, Method getter)
getNavigationPropertyValue
in class AbstractStructuredInvocationHandler
public boolean isChanged()
isChanged
in class AbstractStructuredInvocationHandler
protected void load()
load
in class AbstractStructuredInvocationHandler
protected List<ClientProperty> getInternalProperties()
getInternalProperties
in class AbstractStructuredInvocationHandler
protected ClientProperty getInternalProperty(String name)
getInternalProperty
in class AbstractStructuredInvocationHandler
protected EdmEnabledODataClient getClient()
protected Context getContext()
protected Object invokeSelfMethod(Method method, Object[] args) throws Throwable
Throwable
protected 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 containerNS, String entitySetName, AbstractService<?> service)
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.