org.argouml.uml.diagram.static_structure.ui
Class CommentEdge

java.lang.Object
  extended byorg.argouml.uml.diagram.static_structure.ui.CommentEdge

public class CommentEdge
extends Object

An object tagged as being the owner of a FigEdgeNote. Has knowledge about the source and destination of the FigEdgeNote.

The source and destination are ModelElements. At least one of them is a Comment - but they may be both Comments.

Since:
Jul 17, 2004

Field Summary
private  Object dest
           
private static Logger LOG
           
private  Object source
           
private  Object uuid
           
 
Constructor Summary
CommentEdge(Object s, Object d)
          Constructor.
 
Method Summary
 void delete()
          Commit suicide.
 Object getDestination()
          The destination of this CommentEdge.
 Object getSource()
          The source of this CommentEdge.
 Object getUUID()
           
 void setDestination(Object d)
           
 void setSource(Object s)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

source

private Object source

dest

private Object dest

uuid

private Object uuid

LOG

private static final Logger LOG
Constructor Detail

CommentEdge

public CommentEdge(Object s,
                   Object d)
Constructor.

Parameters:
s - the source
d - the destination
Method Detail

getSource

public Object getSource()
The source of this CommentEdge.

Returns:
the source

getDestination

public Object getDestination()
The destination of this CommentEdge.

Returns:
the destination

getUUID

public Object getUUID()
Returns:
the uuid

setDestination

public void setDestination(Object d)
Parameters:
d - The destination to set.

setSource

public void setSource(Object s)
Parameters:
s - The source to set.

delete

public void delete()
Commit suicide. Adapt the UML model.


toString

public String toString()
See Also:
Object.toString()


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook