Class Grantee
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.Grantee
-
- All Implemented Interfaces:
java.io.Serializable
public class Grantee extends java.lang.Object implements java.io.Serializable
Role grantee.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Grantee.GranteeType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Grantee
createAuthorizationGroup(java.lang.String code)
static Grantee
createPerson(java.lang.String code)
java.lang.String
getCode()
Grantee.GranteeType
getType()
void
setCode(java.lang.String code)
void
setType(Grantee.GranteeType type)
java.lang.String
toString()
-
-
-
Method Detail
-
createPerson
public static final Grantee createPerson(java.lang.String code)
-
createAuthorizationGroup
public static final Grantee createAuthorizationGroup(java.lang.String code)
-
getType
public Grantee.GranteeType getType()
-
setType
public void setType(Grantee.GranteeType type)
-
getCode
public java.lang.String getCode()
-
setCode
public void setCode(java.lang.String code)
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-