public class CollectionProperties extends ReferenceableProperties
| Constructor and Description |
|---|
CollectionProperties()
Default constructor
|
CollectionProperties(CollectionProperties template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
CollectionOrder |
getCollectionOrdering()
Return the property to use to determine the order that assets are returned.
|
String |
getDescription()
Return the description of the collection.
|
String |
getName()
Return the name of the collection.
|
String |
getOrderPropertyName()
Return the property name for CollectionOrder.OTHER.
|
int |
hashCode()
Return hash code for this object
|
void |
setCollectionOrdering(CollectionOrder collectionOrdering)
Set up the property to use to determine the order that assets are returned.
|
void |
setDescription(String description)
Set up the description of the collection.
|
void |
setName(String name)
Set up the name of the collection.
|
void |
setOrderPropertyName(String orderPropertyName)
Set up the property name for CollectionOrder.OTHER.
|
String |
toString()
JSON-style toString
|
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorPropertiespublic CollectionProperties()
public CollectionProperties(CollectionProperties template)
template - object to copypublic String getName()
public void setName(String name)
name - string namepublic String getDescription()
public void setDescription(String description)
description - textpublic CollectionOrder getCollectionOrdering()
public void setCollectionOrdering(CollectionOrder collectionOrdering)
collectionOrdering - CollectionOrder enumpublic String getOrderPropertyName()
public void setOrderPropertyName(String orderPropertyName)
orderPropertyName - string property namepublic String toString()
toString in class ReferenceablePropertiespublic boolean equals(Object objectToCompare)
equals in class ReferenceablePropertiesobjectToCompare - test objectpublic int hashCode()
hashCode in class ReferenceablePropertiesCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.