|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.vajhoej.model.Versioned
dk.vajhoej.model.PersistableBase
dk.vajhoej.model.app.Setup
dk.vajhoej.model.app.Setup2
public class Setup2
Class Setup2 is the in memory representation of a setup XML file in the new format.
Field Summary |
---|
Fields inherited from class dk.vajhoej.model.app.Setup |
---|
boxes, components, connections, h, laf, model, persister, persisterParams, presentation, showBoxes, showComponents, showConnections, w |
Constructor Summary | |
---|---|
Setup2()
|
Method Summary | |
---|---|
NameValuePairList |
getAttributes()
Get all single value fields. |
java.util.List<java.util.List<Persistable>> |
getChildren()
Get all multi value fields. |
void |
setAttributes(NameValuePairList attr)
Set all single value fields. |
void |
setChildren(java.util.List<java.util.List<Persistable>> childs)
Set all multi value fields. |
Methods inherited from class dk.vajhoej.model.app.Setup |
---|
getBoxes, getComponents, getConnections, getH, getId, getLaf, getModel, getPersister, getPersisterParams, getPresentation, getShowBoxes, getShowComponents, getShowConnections, getType, getW, setH, setModel, setPersister, setPersisterParams, setPresentation, setW |
Methods inherited from class dk.vajhoej.model.PersistableBase |
---|
getStore, setStore |
Methods inherited from class dk.vajhoej.model.Versioned |
---|
clone, getVersion, setVersion |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface dk.vajhoej.model.SeparatePersistable |
---|
getStore, setStore |
Constructor Detail |
---|
public Setup2()
Method Detail |
---|
public NameValuePairList getAttributes()
Persistable
getAttributes
in interface Persistable
getAttributes
in class Setup
public java.util.List<java.util.List<Persistable>> getChildren()
Persistable
getChildren
in interface Persistable
getChildren
in class Setup
public void setAttributes(NameValuePairList attr) throws ModelException
Persistable
setAttributes
in interface Persistable
setAttributes
in class Setup
attr
- value pair list
ModelException
- if problemspublic void setChildren(java.util.List<java.util.List<Persistable>> childs) throws ModelException
Persistable
setChildren
in interface Persistable
setChildren
in class Setup
childs
- list of list of persistable objects
ModelException
- if problems
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |