Class ClassificationRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.ClassificationRequestBody
ClassificationRequestBody describes the request body used when attaching classification to elements.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the properties for the classification.int
hashCode()
Return hash code for this objectvoid
setProperties
(ClassificationProperties properties) Set up the properties for the classification.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody
getEffectiveTime, getExternalSourceGUID, getExternalSourceName, getForDuplicateProcessing, getForLineage, setEffectiveTime, setExternalSourceGUID, setExternalSourceName, setForDuplicateProcessing, setForLineage
-
Constructor Details
-
ClassificationRequestBody
public ClassificationRequestBody()Default constructor -
ClassificationRequestBody
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getProperties
Return the properties for the classification.- Returns:
- properties object
-
setProperties
Set up the properties for the classification.- Parameters:
properties
- properties object
-
toString
JSON-style toString- Overrides:
toString
in classMetadataSourceRequestBody
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classMetadataSourceRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classMetadataSourceRequestBody
- Returns:
- int hash code
-