Class CollectionProperties
java.lang.Object
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.CollectionProperties
- All Implemented Interfaces:
Serializable
CollectionProperties describes the core properties of a collection.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCollectionProperties(CollectionProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the property to use to determine the order that assets are returned.Return the description of the collection.getName()Return the name of the collection.Return the property name for CollectionOrder.OTHER.inthashCode()Return hash code for this objectvoidsetCollectionOrdering(CollectionOrder collectionOrdering) Set up the property to use to determine the order that assets are returned.voidsetDescription(String description) Set up the description of the collection.voidSet up the name of the collection.voidsetOrderPropertyName(String orderPropertyName) Set up the property name for CollectionOrder.OTHER.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName
-
Constructor Details
-
CollectionProperties
public CollectionProperties()Default constructor -
CollectionProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getName
Return the name of the collection.- Returns:
- string name
-
setName
Set up the name of the collection.- Parameters:
name- string name
-
getDescription
Return the description of the collection.- Returns:
- text
-
setDescription
Set up the description of the collection.- Parameters:
description- text
-
getCollectionOrdering
Return the property to use to determine the order that assets are returned.- Returns:
- CollectionOrder enum
-
setCollectionOrdering
Set up the property to use to determine the order that assets are returned.- Parameters:
collectionOrdering- CollectionOrder enum
-
getOrderPropertyName
Return the property name for CollectionOrder.OTHER.- Returns:
- string property name
-
setOrderPropertyName
Set up the property name for CollectionOrder.OTHER.- Parameters:
orderPropertyName- string property name
-
toString
JSON-style toString- Overrides:
toStringin classReferenceableProperties- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classReferenceableProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classReferenceableProperties- Returns:
- int hash code
-