com.bonevich.eclipse.cvsgrapher.model
Class AbstractCvsGraphNodeModel

java.lang.Object
  extended bycom.bonevich.eclipse.cvsgrapher.model.AbstractCvsGraphNodeModel
All Implemented Interfaces:
ICvsGraphNodeModel
Direct Known Subclasses:
CvsGraphBranchModel, CvsGraphVersionModel

public abstract class AbstractCvsGraphNodeModel
extends java.lang.Object
implements ICvsGraphNodeModel

Base class for CVS nodes, i.e. versions and branch points.

Author:
jbonevic

Constructor Summary
AbstractCvsGraphNodeModel()
           
 
Method Summary
 void addChildNode(ICvsGraphNodeModel node)
           
 void addSourceConnection(CvsGraphConnectionModel iConnection)
           
 void addTargetConnection(CvsGraphConnectionModel iConnection)
           
 java.util.List getChildNodes()
           
 ICvsGraphNodeModel getParent()
           
 java.util.List getSourceConnections()
           
 java.util.List getTargetConnections()
           
abstract  java.lang.String getVersion()
           
 void setParent(ICvsGraphNodeModel parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCvsGraphNodeModel

public AbstractCvsGraphNodeModel()
Method Detail

getVersion

public abstract java.lang.String getVersion()
Specified by:
getVersion in interface ICvsGraphNodeModel

getSourceConnections

public java.util.List getSourceConnections()
Specified by:
getSourceConnections in interface ICvsGraphNodeModel

getTargetConnections

public java.util.List getTargetConnections()
Specified by:
getTargetConnections in interface ICvsGraphNodeModel

addSourceConnection

public void addSourceConnection(CvsGraphConnectionModel iConnection)
Specified by:
addSourceConnection in interface ICvsGraphNodeModel

addTargetConnection

public void addTargetConnection(CvsGraphConnectionModel iConnection)
Specified by:
addTargetConnection in interface ICvsGraphNodeModel

addChildNode

public void addChildNode(ICvsGraphNodeModel node)
Specified by:
addChildNode in interface ICvsGraphNodeModel

getChildNodes

public java.util.List getChildNodes()
Specified by:
getChildNodes in interface ICvsGraphNodeModel

setParent

public void setParent(ICvsGraphNodeModel parent)
Specified by:
setParent in interface ICvsGraphNodeModel

getParent

public ICvsGraphNodeModel getParent()
Specified by:
getParent in interface ICvsGraphNodeModel


Copyright © 2003-2004 bonevich.com. All Rights Reserved.