public class PersonRoleElement extends Object implements MetadataElement, Serializable
| Constructor and Description |
|---|
PersonRoleElement()
Default constructor
|
PersonRoleElement(PersonRoleElement template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
ElementHeader |
getElementHeader()
Return the element header associated with the properties.
|
PersonRoleProperties |
getProperties()
Return the properties of the role.
|
int |
hashCode()
Return hash code for this object
|
void |
setElementHeader(ElementHeader header)
Set up the element header associated with the properties.
|
void |
setProperties(PersonRoleProperties properties)
Set up the role properties.
|
String |
toString()
JSON-style toString
|
public PersonRoleElement()
public PersonRoleElement(PersonRoleElement template)
template - object to copypublic ElementHeader getElementHeader()
getElementHeader in interface MetadataElementpublic void setElementHeader(ElementHeader header)
setElementHeader in interface MetadataElementheader - element header objectpublic PersonRoleProperties getProperties()
public void setProperties(PersonRoleProperties properties)
properties - propertiespublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.