Class Group
- java.lang.Object
-
- com.tivoli.am.fim.trustserver.sts.uuser.AttributeContainer
-
- 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.- Version:
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringGroup_java_copyrightstatic java.lang.StringGroup_java_sourceCodeID-
Fields inherited from class com.tivoli.am.fim.trustserver.sts.uuser.AttributeContainer
AttributeContainer_java_copyright, AttributeContainer_java_sourceCodeID
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupfromXml(org.w3c.dom.Element element)Create a Group object from XML (in the form of an org.w3c.dom.Element).java.lang.StringgetElementName()Returns the name of this type of Element as a String.java.lang.StringgetName()Returns the name of this Group.java.lang.StringgetType()Returns the type of this Group object.voidsetName(java.lang.String name)Set the name of this Group.voidsetType(java.lang.String type)Set the type of this Group.org.w3c.dom.ElementtoXml(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
attributesFromXml, clear, getAttributeByName, getAttributeByNameAndType, getAttributeIterator, getAttributes, getAttributesByType, getAttributeValueByName, getAttributeValueByNameAndType, getAttributeValuesByName, getAttributeValuesByNameAndType, getNumberOfAttributes, removeAttribute, removeAttributeByNameAndType, removeAttributes, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes
-
-
-
-
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
-
-
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:
toXmlin classAttributeContainer- 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.- 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.
-
-