@RelationshipStereotype(value=GRANT) public class Grant extends AbstractAttributedType implements Relationship
Relationship.RELATIONSHIP_QUERY_ATTRIBUTE
AttributedType.QUERY_ATTRIBUTE
Modifier and Type | Field and Description |
---|---|
static RelationshipQueryParameter |
ASSIGNEE |
static RelationshipQueryParameter |
ROLE |
IDENTITY
ID
Constructor and Description |
---|
Grant() |
Grant(IdentityType assignee,
Role role) |
Modifier and Type | Method and Description |
---|---|
IdentityType |
getAssignee() |
Role |
getRole() |
void |
setAssignee(IdentityType assignee) |
void |
setRole(Role role) |
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 ASSIGNEE
public static final RelationshipQueryParameter ROLE
public Grant()
public Grant(IdentityType assignee, Role role)
@InheritsPrivileges(value="role") @StereotypeProperty(value=RELATIONSHIP_GRANT_ASSIGNEE) public IdentityType getAssignee()
public void setAssignee(IdentityType assignee)
@StereotypeProperty(value=RELATIONSHIP_GRANT_ROLE) public Role getRole()
public void setRole(Role role)
Copyright © 2018 JBoss by Red Hat. All rights reserved.