Class ClientEntitySetImpl
java.lang.Object
org.apache.olingo.client.api.domain.ClientItem
org.apache.olingo.client.api.domain.AbstractClientPayload
org.apache.olingo.client.core.domain.ClientEntitySetImpl
- All Implemented Interfaces:
ClientAnnotatable,ClientEntitySet,ClientInvokeResult
- Direct Known Subclasses:
ClientDeltaImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCount()Gets in-line count.Gets delta link if exists.Gets contained entities.getNext()Gets next page link.getOperation(String title) Searches for operation with given title.Gets operations.inthashCode()voidsetCount(int count) Sets in-line count.voidsetDeltaLink(URI deltaLink) Sets delta link.toString()Methods inherited from class org.apache.olingo.client.api.domain.AbstractClientPayload
getContextURL, setContextURLMethods inherited from class org.apache.olingo.client.api.domain.ClientItem
getLink, getName, setLink
-
Constructor Details
-
ClientEntitySetImpl
public ClientEntitySetImpl() -
ClientEntitySetImpl
-
-
Method Details
-
getNext
Description copied from interface:ClientEntitySetGets next page link.- Specified by:
getNextin interfaceClientEntitySet- Returns:
- next page link; null value if single page or last page reached.
-
getCount
Description copied from interface:ClientEntitySetGets in-line count.- Specified by:
getCountin interfaceClientEntitySet- Returns:
- in-line count value.
-
setCount
public void setCount(int count) Description copied from interface:ClientEntitySetSets in-line count.- Specified by:
setCountin interfaceClientEntitySet- Parameters:
count- in-line count value.
-
getEntities
Description copied from interface:ClientEntitySetGets contained entities.- Specified by:
getEntitiesin interfaceClientEntitySet- Returns:
- entity set's entities.
-
getDeltaLink
Description copied from interface:ClientEntitySetGets delta link if exists.- Specified by:
getDeltaLinkin interfaceClientEntitySet- Returns:
- delta link if exists; null otherwise.
-
setDeltaLink
Description copied from interface:ClientEntitySetSets delta link.- Specified by:
setDeltaLinkin interfaceClientEntitySet- Parameters:
deltaLink- delta link.
-
getAnnotations
- Specified by:
getAnnotationsin interfaceClientAnnotatable
-
getOperation
Description copied from interface:ClientEntitySetSearches for operation with given title.- Specified by:
getOperationin interfaceClientEntitySet- Parameters:
title- operation to look for- Returns:
- operation if found with given title, null otherwise
-
getOperations
Gets operations.- Specified by:
getOperationsin interfaceClientEntitySet- Returns:
- operations.
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractClientPayload
-
equals
- Overrides:
equalsin classAbstractClientPayload
-
toString
- Overrides:
toStringin classAbstractClientPayload
-