@RelationshipStereotype(value=GROUP_MEMBERSHIP) public class GroupMembership extends AbstractAttributedType implements Relationship
Relationship.RELATIONSHIP_QUERY_ATTRIBUTE
AttributedType.QUERY_ATTRIBUTE
Modifier and Type | Field and Description |
---|---|
static RelationshipQueryParameter |
GROUP |
static RelationshipQueryParameter |
MEMBER |
IDENTITY
ID
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, setId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttributes, getId, removeAttribute, setAttribute, setId
public 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.