public class CommunityMembershipElement extends PersonalRoleElement
| Constructor and Description |
|---|
CommunityMembershipElement()
Default constructor
|
CommunityMembershipElement(CommunityMembershipElement template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
ElementStub |
getCommunity()
Return the unique identifier (guid) for the community.
|
CommunityMembershipType |
getMembershipType()
Return the membership type.
|
int |
hashCode()
Return hash code for this object
|
void |
setCommunity(ElementStub community)
Set up the unique identifier (guid) for the community.
|
void |
setMembershipType(CommunityMembershipType membershipType)
Set up the membership type.
|
String |
toString()
JSON-style toString
|
getElementHeader, getProperties, setElementHeader, setPropertiespublic CommunityMembershipElement()
public CommunityMembershipElement(CommunityMembershipElement template)
template - object to copypublic CommunityMembershipType getMembershipType()
public void setMembershipType(CommunityMembershipType membershipType)
membershipType - membership type enumpublic ElementStub getCommunity()
public void setCommunity(ElementStub community)
community - link to community descriptionpublic 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.