com.tivoli.am.fim.trustserver.sts.uuser
Class Group

java.lang.Object
  extended by com.tivoli.am.fim.trustserver.sts.uuser.AttributeContainer
      extended by com.tivoli.am.fim.trustserver.sts.uuser.Group

public class Group
extends AttributeContainer

The Group structure contains attributes and a required name and optional type.


Field Summary
static java.lang.String Group_java_copyright
           
static java.lang.String Group_java_sourceCodeID
           
 
Fields inherited from class com.tivoli.am.fim.trustserver.sts.uuser.AttributeContainer
AttributeContainer_java_copyright, AttributeContainer_java_sourceCodeID
 
Constructor Summary
Group(java.lang.String name, java.lang.String type, Attribute[] attributes)
          Construct a Group object using a name, type and an array of Attribute objects.
 
Method Summary
static Group fromXml(org.w3c.dom.Element element)
          Create a Group object from XML (in the form of an org.w3c.dom.Element).
 java.lang.String getElementName()
          Returns the name of this type of Element as a String.
 java.lang.String getName()
          Returns the name of this Group.
 java.lang.String getType()
          Returns the type of this Group object.
 void setName(java.lang.String name)
          Set the name of this Group.
 void setType(java.lang.String type)
          Set the type of this Group.
 org.w3c.dom.Element toXml(org.w3c.dom.Document owner)
          Convert this Group object into XML (in the form of an org.w3c.dom.Element object).
 
Methods inherited from class com.tivoli.am.fim.trustserver.sts.uuser.AttributeContainer
addAttributeElements, attributesFromXml, clear, getAttributeByName, getAttributeByNameAndType, getAttributeIterator, getAttributes, getAttributesByType, getAttributeValueByName, getAttributeValueByNameAndType, getAttributeValuesByName, getAttributeValuesByNameAndType, getNumberOfAttributes, removeAttribute, removeAttributeByNameAndType, removeAttributes, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Group_java_sourceCodeID

public static final java.lang.String Group_java_sourceCodeID
See Also:
Constant Field Values

Group_java_copyright

public static final java.lang.String Group_java_copyright
See Also:
Constant Field Values
Constructor Detail

Group

public Group(java.lang.String name,
             java.lang.String type,
             Attribute[] attributes)
Construct a Group object using a name, type and an array of Attribute objects.

Parameters:
name - the name of the Group object.
type - the type of Group object.
attributes - an array of Attributes for this Group object.
Method Detail

fromXml

public static Group fromXml(org.w3c.dom.Element element)
Create a Group object from XML (in the form of an org.w3c.dom.Element).

Parameters:
element - the element to create the Group object from.
Returns:
a Group object created from the XML element.

toXml

public org.w3c.dom.Element toXml(org.w3c.dom.Document owner)
Convert this Group object into XML (in the form of an org.w3c.dom.Element object).

Overrides:
toXml in class AttributeContainer
Parameters:
owner - an org.w3c.dom.Document object used to create the returned Element object.
Returns:
the XML representation (as an org.w3c.dom.Element object) of this Group object.

getElementName

public java.lang.String getElementName()
Returns the name of this type of Element as a String.

Specified by:
getElementName in class AttributeContainer
Returns:
the name of this type of Element as a String.

getName

public java.lang.String getName()
Returns the name of this Group.

Returns:
the name of this Group as a String.

setName

public void setName(java.lang.String name)
Set the name of this Group.

Parameters:
name - the name of the Group as a String.

getType

public java.lang.String getType()
Returns the type of this Group object.

Returns:
the type of this Group as a String.

setType

public void setType(java.lang.String type)
Set the type of this Group.

Parameters:
type - the type of this group as a String.