@RelationshipStereotype(value=GRANT) public class Grant extends AbstractAttributedType implements Relationship
Relationship.RELATIONSHIP_QUERY_ATTRIBUTEAttributedType.QUERY_ATTRIBUTE| Modifier and Type | Field and Description |
|---|---|
static RelationshipQueryParameter |
ASSIGNEE |
static RelationshipQueryParameter |
ROLE |
IDENTITYID| 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, setIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAttribute, getAttributes, getId, removeAttribute, setAttribute, setIdpublic 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.