|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectXGTRBAC.CredType
public class CredType
This class contains methods and members for maintaining credential type definitions. It is instantiated primarily in User class (addCredType method).
| Nested Class Summary | |
|---|---|
class |
CredType.Attribute
An inner "Attribute" class * |
class |
CredType.Header
An inner "Header" class * |
| Field Summary | |
|---|---|
private java.util.LinkedList |
AttributeList
|
private CredType.Header |
CredHeader
|
private java.lang.String |
CredTypeId
|
private java.lang.String |
CredTypeName
|
| Constructor Summary | |
|---|---|
CredType(java.lang.String ct_id)
Creates a new instance of CredType |
|
| Method Summary | |
|---|---|
int |
addAttribute(java.lang.String attr_name)
Adds a new attribute to the AttributeList |
CredType.Attribute |
getAttribute(java.lang.String attr_name)
Returns the attribute of a credential type |
int |
getAttributeCount()
Returns the number of attributes of a credential type |
java.lang.String |
getAttributeName(int index)
Returns the name of the attribute |
java.lang.String |
getAttributeValue(int index)
Returns the value of the attribute |
CredType.Header |
getCredHeader()
Returns the header of this credential |
java.lang.String |
getCredTypeId()
Returns the id of a credential type |
java.lang.String |
getCredTypeName()
Returns the name of a credential type |
void |
setAttributeValue(java.lang.String attr_name,
java.lang.String attr_value)
Sets the value of the attribute |
void |
setCredTypeName(java.lang.String ct_name)
Sets the name of a credential type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String CredTypeId
private java.lang.String CredTypeName
private CredType.Header CredHeader
private java.util.LinkedList AttributeList
| Constructor Detail |
|---|
public CredType(java.lang.String ct_id)
| Method Detail |
|---|
public java.lang.String getCredTypeId()
public java.lang.String getCredTypeName()
public void setCredTypeName(java.lang.String ct_name)
ct_name - The credential type name supplied as Stringpublic CredType.Header getCredHeader()
public int getAttributeCount()
public java.lang.String getAttributeName(int index)
index - The integer index of the attribute in the AttributeList
public java.lang.String getAttributeValue(int index)
index - The integer index of the attribute in the AttributeList
public void setAttributeValue(java.lang.String attr_name,
java.lang.String attr_value)
attr_name - The name of the attribute supplied as Stringattr_value - The value of the attribute supplied as Stringpublic CredType.Attribute getAttribute(java.lang.String attr_name)
attr_name - The attribute name supplied as String
public int addAttribute(java.lang.String attr_name)
attr_name - Name of the attribute supplied as String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||