Class ElementClassification
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.metadataelements.ElementClassification
-
- All Implemented Interfaces:
Serializable
public class ElementClassification extends Object implements Serializable
The ElementClassification bean defines a single classification for an asset. This can be used for REST calls and other JSON based functions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementClassification()Default constructorElementClassification(ElementClassification templateClassification)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetClassificationName()Return the name of the classificationMap<String,Object>getClassificationProperties()Return a collection of the additional stored properties for the classification.inthashCode()Create a hash code for this element type.voidsetClassificationName(String classificationName)Set up the name of the classificationvoidsetClassificationProperties(Map<String,Object> classificationProperties)Set up a collection of the additional stored properties for the classification.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
ElementClassification
public ElementClassification()
Default constructor
-
ElementClassification
public ElementClassification(ElementClassification templateClassification)
Copy/clone constructor- Parameters:
templateClassification- template to copy
-
-
Method Detail
-
setClassificationName
public void setClassificationName(String classificationName)
Set up the name of the classification- Parameters:
classificationName- name of classification
-
getClassificationName
public String getClassificationName()
Return the name of the classification- Returns:
- String name
-
setClassificationProperties
public void setClassificationProperties(Map<String,Object> classificationProperties)
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
public Map<String,Object> 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
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-