Class GovernanceDefinitionRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.GovernanceDefinitionRequestBody
GovernanceDefinitionRequestBody provides a structure used when creating governance definitions.
-
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.GovernanceDefinitionStatusReturn the initial status of the governance definition.org.odpi.openmetadata.frameworks.openmetadata.properties.governance.GovernanceDefinitionPropertiesReturn the properties of the governance definition.inthashCode()Return hash code for this objectvoidsetInitialStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.GovernanceDefinitionStatus initialStatus) Set up the initial status of the governance definition.voidsetProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.governance.GovernanceDefinitionProperties properties) Set up the properties of the governance definition.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
GovernanceDefinitionRequestBody
public GovernanceDefinitionRequestBody()Default constructor -
GovernanceDefinitionRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getProperties
public org.odpi.openmetadata.frameworks.openmetadata.properties.governance.GovernanceDefinitionProperties getProperties()Return the properties of the governance definition.- Returns:
- properties
-
setProperties
public void setProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.governance.GovernanceDefinitionProperties properties) Set up the properties of the governance definition.- Parameters:
properties- properties
-
getInitialStatus
public org.odpi.openmetadata.frameworks.openmetadata.enums.GovernanceDefinitionStatus getInitialStatus()Return the initial status of the governance definition.- Returns:
- instance status
-
setInitialStatus
public void setInitialStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.GovernanceDefinitionStatus initialStatus) Set up the initial status of the governance definition.- Parameters:
initialStatus- 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
-