|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.ac.AttributeValue issrg.ac.DistinctAttribute issrg.ac.attributes.PermisRole
public class PermisRole
This is a class for ASN.1 representation of the Permis Role value (singular). Note that the Attribute implementation will deal with multiple values and instantiate an appropriate value object for each of those.
This Attribute cannot be registered just with one OID, because it represents the whole class of attributes that are just printable strings.
Field Summary | |
---|---|
protected java.lang.String |
roleValue
This is the string Name of the role of the given type |
Fields inherited from class issrg.ac.AttributeValue |
---|
data |
Constructor Summary | |
---|---|
protected |
PermisRole()
|
|
PermisRole(ASN1Object ao)
This constructor builds a single PermisRole, given an ASN1Object of its single value. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
decode(ASN1Object ao)
This method decodes a given ASN1Object and upon successful decoding sets the role value as contained in the ASN1Object. |
java.lang.String |
getRoleValue()
Returns the Role Value. |
static void |
registerMe(java.lang.String oid)
This method registers PermisRole as a value of attributes with a specific OID. |
void |
setRoleValue(java.lang.String role)
Sets the Role Value. |
ASN1Object |
toASN1Object()
This method returns the ASN1Object representing PermisRole attribute value. |
java.lang.String |
toString(java.lang.String indent)
|
Methods inherited from class issrg.ac.DistinctAttribute |
---|
isDecoded, registerMe |
Methods inherited from class issrg.ac.AttributeValue |
---|
getRawAttribute, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String roleValue
Constructor Detail |
---|
protected PermisRole()
public PermisRole(ASN1Object ao) throws CodingException
ao
- - the ASN1Object representing a single value
CodingException
Method Detail |
---|
public java.lang.String getRoleValue()
public void setRoleValue(java.lang.String role)
role
- - the role valuepublic ASN1Object toASN1Object() throws CodingException
toASN1Object
in class AttributeValue
CodingException
public void decode(ASN1Object ao) throws CodingException
decode
in class AttributeValue
ao
- - ASN1Object to decode; must be a PrintableString
CodingException
public java.lang.String toString(java.lang.String indent)
toString
in class AttributeValue
public java.lang.Object clone()
clone
in class AttributeValue
public static void registerMe(java.lang.String oid)
oid
- - the dotted form of the OID of the attribute that represents
a PermisRole
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |