|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.sdsc.inca.WrapSuite
public class WrapSuite
A class that wraps a suite, represented by an Inca XmlBean, with some convenience methods.
| Field Summary | |
|---|---|
protected edu.sdsc.inca.dataModel.suite.SuiteDocument |
doc
|
protected java.util.ArrayList |
series
|
protected edu.sdsc.inca.dataModel.suite.Suite |
suite
|
| Constructor Summary | |
|---|---|
WrapSuite(java.lang.String name,
java.lang.String description)
Creates a new suite. |
|
WrapSuite(edu.sdsc.inca.dataModel.suite.Suite suite)
Creates a new WrapSuite to wrap an existing Suite. |
|
| Method Summary | |
|---|---|
WrapSeries |
addNewSeries()
Adds another series to the suite. |
void |
copy(WrapSuite original)
Copies all information from another suite into this one. |
WrapSuite |
differences(WrapSuite ws)
Returns a new WrapSuite that contains the modifications necessary to produce a specified WrapSuite from this one. |
WrapSeries[] |
getAllSeries()
Returns the set of series in the suite as an array, empty if none. |
java.lang.String |
getDescription()
Returns the description of the suite. |
java.lang.String |
getName()
Returns the name of the suite. |
WrapSeries |
getSeriesAt(int index)
Returns a specified SeriesConfig from the Suite. |
int |
getSeriesCount()
Returns the number of series configs in the suite. |
edu.sdsc.inca.dataModel.suite.Suite |
getSuite()
Returns the Suite wrapped by this WrappedSuite. |
void |
removeSeries(WrapSeries series)
Removes a specified series from the suite. |
void |
setDescription(java.lang.String description)
Sets the suite description to a specified value. |
void |
setName(java.lang.String name)
Sets the suite name to a specified value. |
java.lang.String |
toString()
An override of the default toString function. |
java.lang.String |
toXml()
Returns XML for the Suite. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected edu.sdsc.inca.dataModel.suite.SuiteDocument doc
protected edu.sdsc.inca.dataModel.suite.Suite suite
protected java.util.ArrayList series
| Constructor Detail |
|---|
public WrapSuite(java.lang.String name,
java.lang.String description)
name - the suite namedescription - the suite descriptionpublic WrapSuite(edu.sdsc.inca.dataModel.suite.Suite suite)
suite - the suite to wrap| Method Detail |
|---|
public WrapSeries addNewSeries()
public void copy(WrapSuite original)
original - the WrapSuite to duplicatepublic WrapSuite differences(WrapSuite ws)
ws - the modified WrapSuite
public WrapSeries[] getAllSeries()
public java.lang.String getDescription()
public java.lang.String getName()
public WrapSeries getSeriesAt(int index)
index - the index into the SeriesConfig array of the desired itempublic int getSeriesCount()
public edu.sdsc.inca.dataModel.suite.Suite getSuite()
public void removeSeries(WrapSeries series)
series - the series to removepublic java.lang.String toString()
toString in class java.lang.Objectpublic void setDescription(java.lang.String description)
description - the description of the suitepublic void setName(java.lang.String name)
name - the name of the suitepublic java.lang.String toXml()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||