Class CollectionFolderProperties
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.CollectionProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.CollectionFolderProperties
CollectionFolderProperties defines the properties used to create a Folder classification for a collection.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorCopy/clone Constructor - the resulting object. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the property to use to determine the order that member are returned.Return the name of the property to use if collectionOrdering is OTHER.inthashCode()Return hash code for this objectvoidsetCollectionOrdering(CollectionOrder collectionOrdering) Set up the property to use to determine the order that assets are returned.voidsetCollectionOrderingProperty(String collectionOrderingProperty) Set up the name of the property to use if collectionOrdering is OTHER.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.CollectionProperties
getDescription, getName, setDescription, setNameMethods 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
-
CollectionFolderProperties
public CollectionFolderProperties()Default Constructor -
CollectionFolderProperties
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
-
Method Details
-
getCollectionOrdering
Return the property to use to determine the order that member are returned.- Returns:
- AssetCollectionOrder enum
-
setCollectionOrdering
Set up the property to use to determine the order that assets are returned.- Parameters:
collectionOrdering- AssetCollectionOrder enum
-
getCollectionOrderingProperty
Return the name of the property to use if collectionOrdering is OTHER.- Returns:
- property name
-
setCollectionOrderingProperty
Set up the name of the property to use if collectionOrdering is OTHER.- Parameters:
collectionOrderingProperty- test
-
toString
JSON-style toString- Overrides:
toStringin classCollectionProperties- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classCollectionProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classCollectionProperties- Returns:
- int hash code
-