|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.usc.cse.desi.model.AbstractDESIModel
edu.usc.cse.desi.model.AbstractDataModel
edu.usc.cse.desi.model.AbstractConnectionDataModel
This is the abstract class intended to be subclassed by logical and physical links. It contains methods common to both of those classes.
| Field Summary | |
protected AbstractNodeDataModel |
mySourceNode
|
protected AbstractNodeDataModel |
myTargetNode
|
| Fields inherited from class edu.usc.cse.desi.model.AbstractDataModel |
myPropertyHolder, myPropetyInitializer |
| Fields inherited from class edu.usc.cse.desi.model.AbstractDESIModel |
listeners |
| Constructor Summary | |
AbstractConnectionDataModel()
|
|
AbstractConnectionDataModel(PropertyInitializer prop_init)
|
|
| Method Summary | |
abstract void |
attachSource()
If link is attached to a source node, tell the source node to add this link. |
abstract void |
attachTarget()
If this link is attached to a target node, tell the target node to add to this link. |
abstract void |
detachSource()
If this link is attached to a source node, tell the source node to remove from this link. |
abstract void |
detachTarget()
If this link is attached to a target node, tell the target node to remove from this link. |
AbstractNodeDataModel |
getMySourceNode()
This returns one of the nodes that it connects. |
AbstractNodeDataModel |
getMyTargetNode()
This returns one of the nodes that it connects. |
| Methods inherited from class edu.usc.cse.desi.model.AbstractDataModel |
getMyPropertyInitializer, getProperties, getPropertyDisplayName, getPropertyValue, hasProperty, setPropertyValue |
| Methods inherited from class edu.usc.cse.desi.model.AbstractDESIModel |
addPropertyChangeListener, firePropertyChange, propertyChange, reinitialize, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected AbstractNodeDataModel myTargetNode
protected AbstractNodeDataModel mySourceNode
| Constructor Detail |
public AbstractConnectionDataModel()
public AbstractConnectionDataModel(PropertyInitializer prop_init)
| Method Detail |
public AbstractNodeDataModel getMySourceNode()
public AbstractNodeDataModel getMyTargetNode()
public abstract void attachSource()
public abstract void attachTarget()
public abstract void detachSource()
public abstract void detachTarget()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||