Class CollectionProperties
java.lang.Object
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.CollectionProperties
CollectionProperties describes the core properties of a collection.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCollectionProperties(CollectionProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.org.odpi.openmetadata.frameworks.openmetadata.enums.OrderByReturn the property to use to determine the order that assets are returned.Return a descriptive name for the collection's type.Return the description of the collection.getName()Return the name of the collection.Return the property name for OrderBy.OTHER.inthashCode()Return hash code for this objectvoidsetCollectionOrder(org.odpi.openmetadata.frameworks.openmetadata.enums.OrderBy collectionOrder) Set up the property to use to determine the order that assets are returned.voidsetCollectionType(String collectionType) Set up a descriptive name for the collection's type.voidsetDescription(String description) Set up the description of the collection.voidSet up the name of the collection.voidsetOrderByPropertyName(String orderByPropertyName) Set up the property name for OrderBy.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
-
getCollectionType
Return a descriptive name for the collection's type.- Returns:
- string name
-
setCollectionType
Set up a descriptive name for the collection's type.- Parameters:
collectionType- string name
-
getCollectionOrder
public org.odpi.openmetadata.frameworks.openmetadata.enums.OrderBy getCollectionOrder()Return the property to use to determine the order that assets are returned.- Returns:
- OrderBy enum
-
setCollectionOrder
public void setCollectionOrder(org.odpi.openmetadata.frameworks.openmetadata.enums.OrderBy collectionOrder) Set up the property to use to determine the order that assets are returned.- Parameters:
collectionOrder- OrderBy enum
-
getOrderByPropertyName
Return the property name for OrderBy.OTHER.- Returns:
- string property name
-
setOrderByPropertyName
Set up the property name for OrderBy.OTHER.- Parameters:
orderByPropertyName- 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
-