Class CollectionProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.collections.CollectionProperties
- Direct Known Subclasses:
CollectionFolderProperties
CollectionProperties describes the core properties of a collection. The collection is a managed list of elements.
-
Constructor Summary
ConstructorDescriptionDefault constructorCollectionProperties
(CollectionProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return a descriptive name for the collection's type.Return the description of the collection.getName()
Return the name of the collection.int
hashCode()
Return hash code for this objectvoid
setCollectionType
(String collectionType) Set up a descriptive name for the collection's type.void
setDescription
(String description) Set up the description of the collection.void
Set up the name of the collection.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, 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
-
toString
JSON-style toString- Overrides:
toString
in classReferenceableProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int hash code
-