Class UpdateStatusRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.rest.UpdateRequestBody
org.odpi.openmetadata.accessservices.governanceengine.rest.UpdateStatusRequestBody
UpdateStatusRequestBody provides a structure for passing the updated status and effectivity dates for a metadata element.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatusReturn the new status value - or null to leave as is.inthashCode()Return hash code for this objectvoidsetNewStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatus newStatus) Set up the new status value - or null to leave as is.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.accessservices.governanceengine.rest.UpdateRequestBody
getEffectiveTime, getForDuplicateProcessing, getForLineage, setEffectiveTime, setForDuplicateProcessing, setForLineage
-
Constructor Details
-
UpdateStatusRequestBody
public UpdateStatusRequestBody()Default constructor -
UpdateStatusRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getNewStatus
public org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatus getNewStatus()Return the new status value - or null to leave as is.- Returns:
- element status enum value
-
setNewStatus
public void setNewStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.ElementStatus newStatus) Set up the new status value - or null to leave as is.- Parameters:
newStatus- element status enum value
-
toString
JSON-style toString.- Overrides:
toStringin classUpdateRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classUpdateRequestBody- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classUpdateRequestBody- Returns:
- int hash code
-