public class DataGroup
extends java.lang.Object
| Constructor and Description |
|---|
DataGroup()
The bean ctor
|
DataGroup(DataGroup that)
copy ctor
|
DataGroup(java.lang.String groupName)
Create a new DataGroup with the specified name
|
| Modifier and Type | Method and Description |
|---|---|
static DataGroup |
getDataGroup(java.lang.String groupName)
Get the DataGroup of the specified name
|
java.lang.String |
getDescription()
Get the Description property.
|
org.w3c.dom.Element |
getElement(org.w3c.dom.Document doc)
Create an xml element that represents this data group
|
static java.util.List |
getGroups()
Get the list of DataGroups
|
java.lang.String |
getName()
Get the Name property.
|
java.util.List |
getParamSets()
Get the parameter set
|
static void |
init(XmlResourceCollection xrc)
Initialize from XML.
|
static void |
init(XmlResourceCollection xrc,
boolean andClear)
Initialize from XML.
|
static java.util.List |
readGroups(org.w3c.dom.Element root,
java.util.Hashtable groupMap,
boolean merge)
Construct the groups from XML.
|
void |
setDescription(java.lang.String value)
Set the Description property.
|
void |
setName(java.lang.String value)
Set the Name property.
|
void |
setParamSets(java.util.List l)
Set the list of param sets
|
java.lang.String |
toString()
tostring
|
public DataGroup()
public DataGroup(java.lang.String groupName)
groupName - name of grouppublic DataGroup(DataGroup that)
that - thatpublic static DataGroup getDataGroup(java.lang.String groupName)
groupName - name of grouppublic static java.util.List getGroups()
public void setName(java.lang.String value)
value - The new value for Namepublic java.lang.String getName()
public java.util.List getParamSets()
public void setParamSets(java.util.List l)
l - listpublic static void init(XmlResourceCollection xrc)
xrc - resource collectionpublic static void init(XmlResourceCollection xrc, boolean andClear)
xrc - resource collectionandClear - If true then clear any current state and reinitializepublic org.w3c.dom.Element getElement(org.w3c.dom.Document doc)
doc - doc to usepublic java.lang.String toString()
toString in class java.lang.Objectpublic static java.util.List readGroups(org.w3c.dom.Element root,
java.util.Hashtable groupMap,
boolean merge)
root - root XML element.groupMap - groupmerge - Try to merge the new DataGroups into the ones defined in groupMappublic void setDescription(java.lang.String value)
value - The new value for Descriptionpublic java.lang.String getDescription()