Class Classification
java.lang.Object
org.odpi.openmetadata.accessservices.dataprivacy.properties.DataPrivacyElementHeader
org.odpi.openmetadata.accessservices.dataprivacy.properties.Classification
- All Implemented Interfaces:
Serializable
The Classification bean defines a single classification for an asset. This can be used for REST calls and other
JSON based functions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorClassification
(Classification templateClassification) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the name of the classificationReturn a collection of the additional stored properties for the classification.int
hashCode()
Create a hash code for this element type.void
setClassificationName
(String classificationName) Set up the name of the classificationvoid
setClassificationProperties
(Map<String, Object> classificationProperties) Set up a collection of the additional stored properties for the classification.toString()
Standard toString method.
-
Constructor Details
-
Classification
public Classification()Default constructor -
Classification
Copy/clone constructor- Parameters:
templateClassification
- template to copy
-
-
Method Details
-
setClassificationName
Set up the name of the classification- Parameters:
classificationName
- name of classification
-
getClassificationName
Return the name of the classification- Returns:
- String name
-
setClassificationProperties
Set up a collection of the additional stored properties for the classification. If no stored properties are present then null is returned.- Parameters:
classificationProperties
- properties for the classification
-
getClassificationProperties
Return a collection of the additional stored properties for the classification. If no stored properties are present then null is returned.- Returns:
- properties map
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-