public class Grant
extends java.lang.Object
| コンストラクタと説明 |
|---|
Grant(Grantee grantee,
Permission permission)
Constructs a new
Grant object using the specified grantee and permission
objects. |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
Grantee |
getGrantee()
Gets the grantee being granted a permission by this grant.
|
Permission |
getPermission()
Gets the permission being granted to the grantee by this grant.
|
int |
hashCode() |
java.lang.String |
toString() |
public Grant(Grantee grantee, Permission permission)
Grant object using the specified grantee and permission
objects.grantee - The grantee being granted a permission by this grant.permission - The permission being granted to the grantee by this grant.public Grantee getGrantee()
getPermission()public Permission getPermission()
getGrantee()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Objectpublic java.lang.String toString()
toString クラス内 java.lang.Object