pl.edu.agh.cast.model.visual
Class Connection

java.lang.Object
  extended by pl.edu.agh.cast.model.visual.Connection
All Implemented Interfaces:
java.io.Serializable

public class Connection
extends java.lang.Object
implements java.io.Serializable

A visual representation of a IRelation // TODO remove _startDate from this class?

Author:
awos
See Also:
Serialized Form

Constructor Summary
Connection()
           
Connection(Node source, Node target, java.util.Date connectionStart)
           
 
Method Summary
 void copyTo(Connection that)
           
 boolean equals(java.lang.Object obj)
           
 Node getSourceNode()
           
 java.util.Date getStartDate()
           
 Node getTargetNode()
           
 int hashCode()
           
 void setSourceNode(Node sourceNode)
           
 void setStartDate(java.util.Date startDate)
           
 void setTargetNode(Node targetNode)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Connection

public Connection()

Connection

public Connection(Node source,
                  Node target,
                  java.util.Date connectionStart)
Method Detail

getSourceNode

public Node getSourceNode()

setSourceNode

public void setSourceNode(Node sourceNode)

getTargetNode

public Node getTargetNode()

setTargetNode

public void setTargetNode(Node targetNode)

getStartDate

public java.util.Date getStartDate()

setStartDate

public void setStartDate(java.util.Date startDate)

copyTo

public void copyTo(Connection that)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.