public final class EntityContainerInvocationHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG
Logger.
|
protected String |
namespace |
protected AbstractService<?> |
service |
protected final String namespace
protected static final org.slf4j.Logger LOG
protected AbstractService<?> service
public static EntityContainerInvocationHandler getInstance(Class<?> ref, AbstractService<?> service)
protected AbstractService<?> getService()
protected String getEntityContainerName()
protected String getSchemaName()
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
Throwable
public <NE extends EntityType<?>> NE newEntityInstance(Class<NE> ref)
public <T extends EntityType<?>,NEC extends EntityCollection<T,?,?>> NEC newEntityCollection(Class<NEC> ref)
public <NE extends ComplexType<?>> NE newComplexInstance(Class<NE> ref)
public <T extends ComplexType<?>,NEC extends ComplexCollection<T,?,?>> NEC newComplexCollection(Class<NEC> ref)
public <T extends Serializable,NEC extends PrimitiveCollection<T>> NEC newPrimitiveCollection(Class<T> ref)
public EdmStreamValue newEdmStreamValue(String contentType, InputStream stream)
protected EdmEnabledODataClient getClient()
protected Context getContext()
protected boolean isSelfMethod(Method method)
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 entitySetName, AbstractService<?> service)
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.