Class PersonRoleRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.PersonRoleRequestBody
PersonRoleRequestBody provides the request body payload for working on PersonRole entities.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorPersonRoleRequestBody(PersonRoleRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.org.odpi.openmetadata.frameworks.openmetadata.properties.actors.PersonRolePropertiesReturn the properties for this person role.inthashCode()Return hash code for this objectvoidsetProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.actors.PersonRoleProperties properties) Set up the properties for this person role.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
PersonRoleRequestBody
public PersonRoleRequestBody()Default constructor -
PersonRoleRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getProperties
public org.odpi.openmetadata.frameworks.openmetadata.properties.actors.PersonRoleProperties getProperties()Return the properties for this person role.- Returns:
- properties bean
-
setProperties
public void setProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.actors.PersonRoleProperties properties) Set up the properties for this person role.- Parameters:
properties- properties bean
-
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
-