|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdk.vajhoej.model.core.ExtModel
public class ExtModel
Class ExtModel represents an architectural model extended with visual information.
| Constructor Summary | |
|---|---|
ExtModel()
Create instance of ExtModel. |
|
ExtModel(Model real,
java.util.List<Location> locations,
int dimX,
int dimY)
Create instance of ExtModel. |
|
| Method Summary | |
|---|---|
NameValuePairList |
getAttributes()
Get all single value fields. |
java.util.List<java.util.List<Persistable>> |
getChildren()
Get all multi value fields. |
int |
getDimX()
Get grid width. |
int |
getDimY()
Get grid height. |
java.lang.String |
getId()
Get id identifying object. |
java.util.List<Location> |
getLocations()
Get locations. |
Model |
getReal()
Get the model. |
java.lang.String |
getStore()
Get store. |
java.lang.String |
getType()
Get type (XML element name / database table name not Java class name). |
void |
setAttributes(NameValuePairList attr)
Set all single value fields. |
void |
setChildren(java.util.List<java.util.List<Persistable>> childs)
Set all multi value fields. |
void |
setDimX(int dimX)
Set grid width. |
void |
setDimY(int dimY)
Set grid height. |
void |
setLocations(java.util.List<Location> locations)
Set locations. |
void |
setStore(java.lang.String store)
Set store. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExtModel()
public ExtModel(Model real,
java.util.List<Location> locations,
int dimX,
int dimY)
real - the modellocations - locations of boxes and connectionsdimX - grid widthdimY - grid height| Method Detail |
|---|
public Model getReal()
public java.util.List<Location> getLocations()
public void setLocations(java.util.List<Location> locations)
locations - list of locationspublic int getDimX()
public void setDimX(int dimX)
dimX - grid widthpublic int getDimY()
public void setDimY(int dimY)
dimY - grid heightpublic java.lang.String getId()
Persistable
getId in interface Persistablepublic java.lang.String getType()
Persistable
getType in interface Persistablepublic java.lang.String getStore()
SeparatePersistable
getStore in interface SeparatePersistablepublic void setStore(java.lang.String store)
SeparatePersistable
setStore in interface SeparatePersistablestore - storepublic NameValuePairList getAttributes()
Persistable
getAttributes in interface Persistablepublic java.util.List<java.util.List<Persistable>> getChildren()
Persistable
getChildren in interface Persistable
public void setAttributes(NameValuePairList attr)
throws ModelException
Persistable
setAttributes in interface Persistableattr - value pair list
ModelException - if problems
public void setChildren(java.util.List<java.util.List<Persistable>> childs)
throws ModelException
Persistable
setChildren in interface Persistablechilds - list of list of persistable objects
ModelException - if problemspublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||