Class GovernanceRoleRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceProgramOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody
-
- org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceRoleRequestBody
-
- All Implemented Interfaces:
Serializable
public class GovernanceRoleRequestBody extends ExternalSourceRequestBody
GovernanceDefinitionRequestBody provides a structure used when creating governance definitions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceRoleRequestBody()Default constructorGovernanceRoleRequestBody(GovernanceRoleRequestBody 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.GovernanceRolePropertiesgetProperties()Return the properties of the governance role.inthashCode()Return hash code for this objectvoidsetProperties(GovernanceRoleProperties properties)Set up the properties of the governance role.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
-
-
-
Constructor Detail
-
GovernanceRoleRequestBody
public GovernanceRoleRequestBody()
Default constructor
-
GovernanceRoleRequestBody
public GovernanceRoleRequestBody(GovernanceRoleRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getProperties
public GovernanceRoleProperties getProperties()
Return the properties of the governance role.- Returns:
- properties
-
setProperties
public void setProperties(GovernanceRoleProperties properties)
Set up the properties of the governance role.- Parameters:
properties- properties
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classExternalSourceRequestBody- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
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
-
-