public class CollectionResponse extends HistoryContents implements ElementResponse
Constructor and Description |
---|
CollectionResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCollectionType()
Gets the type of this collection.
|
List<CollectionElementResponse> |
getElements()
Gets a list of elements within this collection.
|
String |
getHistoryId()
Gets the id of the history this collection exists within.
|
int |
hashCode() |
boolean |
isVisible()
Gets the visible status of this collection.
|
void |
setCollectionType(String collectionType)
Sets the type of this collection.
|
void |
setElements(List<CollectionElementResponse> elements)
Sets the list of elements within this collection.
|
void |
setHistoryId(String historyId)
Sets the id of the history this collection exists within.
|
void |
setVisible(boolean visible)
Sets the visible status of this collection.
|
getHid, getHistoryContentType, getName, getState, getType, isDeleted, isPurged, setDeleted, setHid, setHistoryContentType, setName, setPurged, setState, setType
getId, getUrl, setId, setUrl
public List<CollectionElementResponse> getElements()
public void setElements(List<CollectionElementResponse> elements)
elements
- A list of elements within this collection.public String getCollectionType()
public void setCollectionType(String collectionType)
collectionType
- The type of this collection.public String getHistoryId()
public void setHistoryId(String historyId)
historyId
- The id of the history this collection exists within.public boolean isVisible()
public void setVisible(boolean visible)
visible
- The visible status of this collection.public int hashCode()
hashCode
in class HistoryContents
public boolean equals(Object obj)
equals
in class HistoryContents
Copyright © 2014. All rights reserved.