Class ClassificationRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.securitymanager.rest.SecurityManagerOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.securitymanager.rest.ExternalSourceRequestBody
-
- org.odpi.openmetadata.accessservices.securitymanager.rest.ClassificationRequestBody
-
- All Implemented Interfaces:
Serializable
public class ClassificationRequestBody extends ExternalSourceRequestBody
ClassificationRequestBody describes the request body used when attaching classification to elements.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassificationRequestBody()Default constructorClassificationRequestBody(ClassificationRequestBody template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.ClassificationPropertiesgetProperties()Return the properties for the classification.inthashCode()Return hash code for this objectvoidsetProperties(ClassificationProperties properties)Set up the properties for the classification.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.securitymanager.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
-
-
-
Constructor Detail
-
ClassificationRequestBody
public ClassificationRequestBody()
Default constructor
-
ClassificationRequestBody
public ClassificationRequestBody(ClassificationRequestBody template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getProperties
public ClassificationProperties getProperties()
Return the properties for the classification.- Returns:
- properties object
-
setProperties
public void setProperties(ClassificationProperties properties)
Set up the properties for the classification.- Parameters:
properties- properties object
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classExternalSourceRequestBody- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classExternalSourceRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classExternalSourceRequestBody- Returns:
- int hash code
-
-