|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sri.emo.dbobj.model_tree.DefaultModel
public class DefaultModel
Default implementation of the 'model' interface. Provides concrete
implementations of access to the iterator() function and all
other requirements of the Model interface. Most of the
guts of the model, however, are stored in DefaultModelNode
| Constructor Summary | |
|---|---|
DefaultModel(ModelNode modelRoot)
Constructor that takes the |
|
| Method Summary | |
|---|---|
ModelNode |
getRoot()
Retrieves the root of the tree hierarchy to allow for manual manipulation if needed. |
Iterator |
iterator()
Allows for the client to visit the nodes one-by-one. |
Iterator |
iterator(TreeTraversalListener traversallistener)
Allows for client to visit nodes one by one as well as be notified whenever traversal in the internal composite tree occurs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultModel(ModelNode modelRoot)
modelRoot - ModelCompositeNode| Method Detail |
|---|
public Iterator iterator()
iterator in interface Modelpublic Iterator iterator(TreeTraversalListener traversallistener)
iterator in interface Modeltraversallistener - TreeTraversalListener
public ModelNode getRoot()
getRoot in interface Model
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||