@RelationshipStereotype(value=GROUP_MEMBERSHIP) public class GroupMembership extends AbstractAttributedType implements Relationship
Relationship.RELATIONSHIP_QUERY_ATTRIBUTEAttributedType.QUERY_ATTRIBUTE| Modifier and Type | Field and Description |
|---|---|
static RelationshipQueryParameter |
GROUP |
static RelationshipQueryParameter |
MEMBER |
IDENTITYID| Constructor and Description |
|---|
GroupMembership() |
GroupMembership(Account member,
Group group) |
| Modifier and Type | Method and Description |
|---|---|
Group |
getGroup() |
Account |
getMember() |
void |
setGroup(Group group) |
void |
setMember(Account member) |
equals, getAttribute, getAttributes, getAttributesMap, getId, hashCode, removeAttribute, setAttribute, setIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAttribute, getAttributes, getId, removeAttribute, setAttribute, setIdpublic static final RelationshipQueryParameter MEMBER
public static final RelationshipQueryParameter GROUP
@InheritsPrivileges(value="group") @StereotypeProperty(value=RELATIONSHIP_GROUP_MEMBERSHIP_MEMBER) public Account getMember()
public void setMember(Account member)
@StereotypeProperty(value=RELATIONSHIP_GROUP_MEMBERSHIP_GROUP) public Group getGroup()
public void setGroup(Group group)
Copyright © 2018 JBoss by Red Hat. All rights reserved.