|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.sdsc.inca.WrapConfig
public class WrapConfig
A class that wraps an IncaDocument.
| Field Summary | |
|---|---|
protected edu.sdsc.inca.dataModel.inca.IncaDocument |
doc
|
protected edu.sdsc.inca.dataModel.inca.IncaDocument.Inca |
inca
|
| Constructor Summary | |
|---|---|
WrapConfig()
Creates a new WrapConfig. |
|
WrapConfig(java.lang.String xml)
Creates a new WrapConfig by parsing XML. |
|
| Method Summary | |
|---|---|
WrapConfig |
copy()
Return a copy of this object. |
WrapConfig |
differences(WrapConfig wc)
Returns a new WrapConfig that contains the modifications necessary to produce a specified WrapConfig from this one. |
boolean |
equals(java.lang.Object o)
Override of the default equals method. |
java.lang.String[] |
getRepositories()
Returns the set of configuration repositories. |
WrapResource[] |
getResources()
Returns the set of configuration resources. |
WrapSuite[] |
getSuites()
Returns the set of configuration suites. |
void |
setRepositories(java.lang.String[] repositories)
Sets the configuration repositories to a specified set. |
void |
setResources(WrapResource[] resources)
Sets the configuration resources to a specified set. |
void |
setSuites(WrapSuite[] suites)
Sets the configuration suites to a specified set. |
java.lang.String |
toXml()
Returns XML for the configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected edu.sdsc.inca.dataModel.inca.IncaDocument doc
protected edu.sdsc.inca.dataModel.inca.IncaDocument.Inca inca
| Constructor Detail |
|---|
public WrapConfig()
public WrapConfig(java.lang.String xml)
throws org.apache.xmlbeans.XmlException
xml - the IncaDocument XML
org.apache.xmlbeans.XmlException - if the XML is invalid| Method Detail |
|---|
public WrapConfig copy()
public WrapConfig differences(WrapConfig wc)
wc - the modified WrapConfig
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to compare to this one
public java.lang.String[] getRepositories()
public WrapResource[] getResources()
public WrapSuite[] getSuites()
public void setRepositories(java.lang.String[] repositories)
repositories - the configuration repositories, null for nonepublic void setResources(WrapResource[] resources)
resources - the configuration resources, null for nonepublic void setSuites(WrapSuite[] suites)
suites - the configuration suites, null for nonepublic java.lang.String toXml()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||