Class PersonRoleRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.rest.CommunityProfileOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.communityprofile.rest.ExternalSourceRequestBody
-
- org.odpi.openmetadata.accessservices.communityprofile.rest.PersonRoleRequestBody
-
- All Implemented Interfaces:
Serializable
public class PersonRoleRequestBody extends ExternalSourceRequestBody
PersonRoleRequestBody provides the request body payload for working on PersonRole entities.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersonRoleRequestBody()Default constructorPersonRoleRequestBody(PersonRoleRequestBody 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.PersonRolePropertiesgetProperties()Return the properties for this person role.inthashCode()Return hash code for this objectvoidsetProperties(PersonRoleProperties properties)Set up the properties for this person role.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.rest.ExternalSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
-
-
-
Constructor Detail
-
PersonRoleRequestBody
public PersonRoleRequestBody()
Default constructor
-
PersonRoleRequestBody
public PersonRoleRequestBody(PersonRoleRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getProperties
public PersonRoleProperties getProperties()
Return the properties for this person role.- Returns:
- properties bean
-
setProperties
public void setProperties(PersonRoleProperties properties)
Set up the properties for this person role.- Parameters:
properties- properties bean
-
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
-
-