Class CollectionProperties
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.CollectionProperties
- Direct Known Subclasses:
CollectionFolderProperties
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.Return the description of the collection.getName()Return the name of the collection.inthashCode()Return hash code for this objectvoidsetDescription(String description) Set up the description of the collection.voidSet up the name of the collection.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
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
-
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
-