Class ReferenceableUpdateRequestBody
java.lang.Object
org.odpi.openmetadata.viewservices.classificationmanager.rest.ReferenceableRequestBody
org.odpi.openmetadata.viewservices.classificationmanager.rest.ReferenceableUpdateRequestBody
ReferenceableUpdateRequestBody carries the correlation properties, readVersionIdentifier and effective time for a create (with parent),
update or delete requests.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the date/time to use for the query.Return the string that describes details of the update.int
hashCode()
Return hash code for this objectvoid
setEffectiveTime
(Date effectiveTime) Set up the date/time to use for the query.void
setUpdateDescription
(String updateDescription) Set up the string that describes details of the update.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.viewservices.classificationmanager.rest.ReferenceableRequestBody
getElementProperties, getParentGUID, setElementProperties, setParentGUID
-
Constructor Details
-
ReferenceableUpdateRequestBody
public ReferenceableUpdateRequestBody()Default constructor -
ReferenceableUpdateRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getEffectiveTime
Return the date/time to use for the query.- Returns:
- date object
-
setEffectiveTime
Set up the date/time to use for the query.- Parameters:
effectiveTime
- date object
-
getUpdateDescription
Return the string that describes details of the update.- Returns:
- description
-
setUpdateDescription
Set up the string that describes details of the update.- Parameters:
updateDescription
- description
-
toString
JSON-style toString- Overrides:
toString
in classReferenceableRequestBody
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classReferenceableRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classReferenceableRequestBody
- Returns:
- int hash code
-