Package com.emc.object.s3.bean
Class Grant
- java.lang.Object
-
- com.emc.object.s3.bean.Grant
-
-
Constructor Summary
Constructors Constructor Description Grant()
Grant(AbstractGrantee grantee, Permission permission)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Grant o)
boolean
equals(java.lang.Object o)
AbstractGrantee
getGrantee()
Permission
getPermission()
int
hashCode()
void
setGrantee(AbstractGrantee grantee)
void
setPermission(Permission permission)
-
-
-
Constructor Detail
-
Grant
public Grant()
-
Grant
public Grant(AbstractGrantee grantee, Permission permission)
-
-
Method Detail
-
getGrantee
public AbstractGrantee getGrantee()
-
setGrantee
public void setGrantee(AbstractGrantee grantee)
-
getPermission
public Permission getPermission()
-
setPermission
public void setPermission(Permission permission)
-
compareTo
public int compareTo(Grant o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Grant>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-