public class TeamMembershipElement extends PersonalRoleElement
| Constructor and Description |
|---|
TeamMembershipElement()
Default constructor
|
TeamMembershipElement(TeamMembershipElement template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
boolean |
getLeadershipRole()
Return the properties of the userId.
|
String |
getPosition()
Return the name of the special position (if any) in the team.
|
ElementStub |
getTeam()
Return the unique identifier (guid) of the team.
|
int |
hashCode()
Return hash code for this object
|
void |
setLeadershipRole(boolean leadershipRole)
Set up the userId properties.
|
void |
setPosition(String position)
Set up the name of the special position (if any) in the team.
|
void |
setTeam(ElementStub team)
Set up the unique identifier (guid) of the team.
|
String |
toString()
JSON-style toString
|
getElementHeader, getProperties, setElementHeader, setPropertiespublic TeamMembershipElement()
public TeamMembershipElement(TeamMembershipElement template)
template - object to copypublic String getPosition()
public void setPosition(String position)
position - string namepublic boolean getLeadershipRole()
public void setLeadershipRole(boolean leadershipRole)
leadershipRole - flagpublic ElementStub getTeam()
public void setTeam(ElementStub team)
team - string guidpublic String toString()
toString in class PersonalRoleElementpublic boolean equals(Object objectToCompare)
equals in class PersonalRoleElementobjectToCompare - test objectpublic int hashCode()
hashCode in class PersonalRoleElementCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.