edu.usc.cse.desi.model
Class AbstractNodeDataModel
java.lang.Object
edu.usc.cse.desi.model.AbstractDESIModel
edu.usc.cse.desi.model.AbstractDataModel
edu.usc.cse.desi.model.AbstractNodeDataModel
- All Implemented Interfaces:
- java.util.EventListener, IObjectWithProperties, java.beans.PropertyChangeListener, java.io.Serializable
- Direct Known Subclasses:
- ComponentDataModel, HostDataModel
- public abstract class AbstractNodeDataModel
- extends AbstractDataModel
This is the abstract class that hosts and components will subclass.
It contains methods common to both of those classes.
- Author:
- Nels
Started Feb 15, 2004
- See Also:
- Serialized Form
|
Method Summary |
java.util.List |
getChildren()
Returns a List of child components for this node. |
java.util.List |
getConnections()
Returns a list of all the connections that are connected to this
node. |
void |
reinitialize()
Call reinitialize on all your children and connections. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myChildren
protected java.util.List myChildren
myConnections
protected java.util.List myConnections
AbstractNodeDataModel
public AbstractNodeDataModel(PropertyInitializer initializer)
AbstractNodeDataModel
public AbstractNodeDataModel()
getChildren
public java.util.List getChildren()
- Returns a List of child components for this node.
- Returns:
- List
getConnections
public java.util.List getConnections()
- Returns a list of all the connections that are connected to this
node.
- Returns:
- List
reinitialize
public void reinitialize()
- Call reinitialize on all your children and connections. This will
fix all problems with deserialization of listeners.
- Overrides:
reinitialize in class AbstractDESIModel