public class PersonalRoleElement extends Object implements MetadataElement, Serializable
| Constructor and Description |
|---|
PersonalRoleElement()
Default constructor
|
PersonalRoleElement(PersonalRoleElement 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.
|
PersonalRoleProperties |
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(PersonalRoleProperties properties)
Set up the role properties.
|
String |
toString()
JSON-style toString
|
public PersonalRoleElement()
public PersonalRoleElement(PersonalRoleElement template)
template - object to copypublic ElementHeader getElementHeader()
getElementHeader in interface MetadataElementpublic void setElementHeader(ElementHeader header)
setElementHeader in interface MetadataElementheader - element header objectpublic PersonalRoleProperties getProperties()
public void setProperties(PersonalRoleProperties properties)
properties - propertiespublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.