public class PrimitiveCollectionInvocationHandler<T extends Serializable> extends AbstractCollectionInvocationHandler<T,PrimitiveCollection<T>>
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG
Logger.
|
protected AbstractService<?> |
service |
annotations, baseURI, itemRef, items, nextPageURI, referenceItems, uri
Constructor and Description |
---|
PrimitiveCollectionInvocationHandler(AbstractService<?> service,
Class<T> itemRef) |
PrimitiveCollectionInvocationHandler(AbstractService<?> service,
Class<T> itemRef,
URIBuilder uri) |
PrimitiveCollectionInvocationHandler(AbstractService<?> service,
Collection<T> items,
Class<T> itemRef,
URIBuilder uri) |
Modifier and Type | Method and Description |
---|---|
protected static URIBuilder |
buildEntitySetURI(Class<?> ref,
AbstractService<?> service) |
protected static URIBuilder |
buildEntitySetURI(String entitySetName,
AbstractService<?> service) |
void |
delete() |
protected <S extends EntityType<?>> |
deleteEntity(EntityInvocationHandler handler,
URI entitySetURI) |
boolean |
equals(Object obj) |
org.apache.commons.lang3.tuple.Triple<List<T>,URI,List<ClientAnnotation>> |
fetchPartial(URI uri,
Class<T> typeRef) |
protected EdmEnabledODataClient |
getClient() |
protected ComplexType<?> |
getComplex(String name,
ClientValue value,
Class<?> ref,
EntityInvocationHandler handler,
URI baseURI,
boolean collectionItem) |
protected Context |
getContext() |
int |
hashCode() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected Object |
invokeSelfMethod(Method method,
Object[] args) |
protected boolean |
isDeleted(EntityInvocationHandler handler) |
protected boolean |
isSelfMethod(Method method) |
String |
toString() |
add, addAll, addRef, clear, clearQueryOptions, contains, containsAll, execute, executeAsync, expand, filter, filter, getAnnotation, getAnnotationTerms, getRequestURI, getTypeRef, getURI, hasNextPage, isEmpty, iterator, nextPage, orderBy, orderBy, refs, remove, removeAll, retainAll, select, setAnnotations, size, skip, toArray, toArray, top
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
parallelStream, removeIf, spliterator, stream
protected static final org.slf4j.Logger LOG
protected AbstractService<?> service
public PrimitiveCollectionInvocationHandler(AbstractService<?> service, Class<T> itemRef)
public PrimitiveCollectionInvocationHandler(AbstractService<?> service, Class<T> itemRef, URIBuilder uri)
public PrimitiveCollectionInvocationHandler(AbstractService<?> service, Collection<T> items, Class<T> itemRef, URIBuilder uri)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
Throwable
public org.apache.commons.lang3.tuple.Triple<List<T>,URI,List<ClientAnnotation>> fetchPartial(URI uri, Class<T> typeRef)
fetchPartial
in class AbstractCollectionInvocationHandler<T extends Serializable,PrimitiveCollection<T extends Serializable>>
public void delete()
public boolean equals(Object obj)
equals
in interface Collection<T extends Serializable>
public int hashCode()
hashCode
in interface Collection<T extends Serializable>
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.