Class GovernanceStatusRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceProgramOMASAPIRequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceStatusRequestBody
- All Implemented Interfaces:
Serializable
GovernanceDefinitionRequestBody provides a structure used when creating governance definitions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the initial status of the governance definition.inthashCode()Return hash code for this objectvoidsetStatus(GovernanceDefinitionStatus status) Set up the initial status of the governance definition.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
GovernanceStatusRequestBody
public GovernanceStatusRequestBody()Default constructor -
GovernanceStatusRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getStatus
Return the initial status of the governance definition.- Returns:
- instance status
-
setStatus
Set up the initial status of the governance definition.- Parameters:
status- instance status
-
toString
JSON-style toString.- Overrides:
toStringin classExternalSourceRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classExternalSourceRequestBody- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classExternalSourceRequestBody- Returns:
- int hash code
-