public class Collection extends ReferenceableHeader
| Constructor and Description |
|---|
Collection()
Default Constructor
|
Collection(Collection template)
Copy/clone Constructor - the resulting object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
Map<String,String> |
getAdditionalProperties()
Return any additional properties associated with the element.
|
CollectionOrder |
getCollectionOrdering()
Return the property to use to determine the order that assets are returned.
|
Map<String,Object> |
getExtendedProperties()
Return any properties associated with the subclass of this element.
|
int |
hashCode()
Return hash code for this object
|
void |
setAdditionalProperties(Map<String,String> additionalProperties)
Set up any additional properties associated with the element.
|
void |
setCollectionOrdering(CollectionOrder collectionOrdering)
Set up the property to use to determine the order that assets are returned.
|
void |
setExtendedProperties(Map<String,Object> additionalProperties)
Set up any additional properties associated with the element.
|
String |
toString()
JSON-style toString
|
getClassifications, getDescription, getName, getQualifiedName, setClassifications, setDescription, setName, setQualifiedNamegetGUID, setGUIDgetOriginId, getOriginLicense, getOriginName, getOriginType, getTypeDescription, getTypeName, setOriginId, setOriginLicense, setOriginName, setOriginType, setTypeDescription, setTypeNamepublic Collection()
public Collection(Collection template)
template - object being copiedpublic CollectionOrder getCollectionOrdering()
public void setCollectionOrdering(CollectionOrder collectionOrdering)
collectionOrdering - CollectionOrder enumpublic Map<String,Object> getExtendedProperties()
public void setExtendedProperties(Map<String,Object> additionalProperties)
additionalProperties - map of property names to property valuespublic Map<String,String> getAdditionalProperties()
public void setAdditionalProperties(Map<String,String> additionalProperties)
additionalProperties - map of property names to property valuespublic String toString()
toString in class ReferenceableHeaderpublic boolean equals(Object objectToCompare)
equals in class ReferenceableHeaderobjectToCompare - test objectpublic int hashCode()
hashCode in class ReferenceableHeaderCopyright © 2018–2019 ODPi. All rights reserved.