Class GovernanceDefinitionRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceProgramOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceDefinitionRequestBody
-
- All Implemented Interfaces:
Serializable
public class GovernanceDefinitionRequestBody extends GovernanceProgramOMASAPIRequestBody
GovernanceDefinitionRequestBody provides a structure used when creating governance definitions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceDefinitionRequestBody()Default constructorGovernanceDefinitionRequestBody(GovernanceDefinitionRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.GovernanceDefinitionStatusgetInitialStatus()Return the initial status of the governance definition.GovernanceDefinitionPropertiesgetProperties()Return the properties of the governance definition.inthashCode()Return hash code for this objectvoidsetInitialStatus(GovernanceDefinitionStatus initialStatus)Set up the initial status of the governance definition.voidsetProperties(GovernanceDefinitionProperties properties)Set up the properties of the governance definition.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
GovernanceDefinitionRequestBody
public GovernanceDefinitionRequestBody()
Default constructor
-
GovernanceDefinitionRequestBody
public GovernanceDefinitionRequestBody(GovernanceDefinitionRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getProperties
public GovernanceDefinitionProperties getProperties()
Return the properties of the governance definition.- Returns:
- properties
-
setProperties
public void setProperties(GovernanceDefinitionProperties properties)
Set up the properties of the governance definition.- Parameters:
properties- properties
-
getInitialStatus
public GovernanceDefinitionStatus getInitialStatus()
Return the initial status of the governance definition.- Returns:
- instance status
-
setInitialStatus
public void setInitialStatus(GovernanceDefinitionStatus initialStatus)
Set up the initial status of the governance definition.- Parameters:
initialStatus- instance status
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classGovernanceProgramOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-