public class ODataEntitySetDefaultImpl extends java.lang.Object implements ODataEntitySet
ODataEntitySet
.ODataPayload.Type
Constructor and Description |
---|
ODataEntitySetDefaultImpl(int count,
java.lang.String deltaPath,
java.util.Set<java.lang.String> deletedEntities)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getCount()
Returns the total number of entities in this feed.
|
java.util.Set<java.lang.String> |
getDeletedEntities()
Retrieves the set of the deleted entities in the entity set.
|
java.lang.String |
getDeltaPath()
Returns the delta path for the entity set if exist.
|
java.util.List<ODataEntity> |
getEntities()
Returns the list of entities in this entity set.
|
java.lang.String |
getNextResourcePath()
Returns the resource path for the next chunk of entities generated by the server.
|
java.lang.String |
getResourcePath()
Returns the resource path of the collection the corresponding feed was taken from.
|
int |
hashCode() |
void |
setEntities(java.util.List<ODataEntity> entities) |
void |
setNextResourcePath(java.lang.String nextResourcePath) |
void |
setResourcePath(java.lang.String resourcePath) |
public ODataEntitySetDefaultImpl(int count, java.lang.String deltaPath, java.util.Set<java.lang.String> deletedEntities)
count
- deltaPath
- deletedEntities
- public int getCount()
ODataEntitySet
getCount
in interface ODataEntitySet
public java.util.List<ODataEntity> getEntities()
ODataEntitySet
getEntities
in interface ODataEntitySet
public void setEntities(java.util.List<ODataEntity> entities)
public java.lang.String getResourcePath()
ODataEntitySet
getResourcePath
in interface ODataEntitySet
public void setResourcePath(java.lang.String resourcePath)
public java.lang.String getNextResourcePath()
ODataEntitySet
getNextResourcePath
in interface ODataEntitySet
public void setNextResourcePath(java.lang.String nextResourcePath)
public java.lang.String getDeltaPath()
ODataEntitySet
getDeltaPath
in interface ODataEntitySet
public java.util.Set<java.lang.String> getDeletedEntities()
ODataEntitySet
getDeletedEntities
in interface ODataEntitySet
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object