public class Grant extends AbstractAttributedType implements Relationship
AttributedType.ATTRIBUTE, AttributedType.AttributeParameter
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, 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)
@IdentityProperty public IdentityType getAssignee()
public void setAssignee(IdentityType assignee)
@IdentityProperty public Role getRole()
public void setRole(Role role)
Copyright © 2013. All Rights Reserved.