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

Constructor Summary
CommentEdge(Object source, Object dest)
          Constructor.
 
Method Summary
 void delete()
          Commit suicide.
 Object getAnnotatedElement()
           
 Object getComment()
           
 Object getDestination()
          The destination of this CommentEdge.
 Object getSource()
          The source of this CommentEdge.
 Object getUUID()
           
 void setAnnotatedElement(Object annotatedElement)
           
 void setComment(Object comment)
           
 void setDestination(Object destination)
           
 void setSource(Object source)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommentEdge

public CommentEdge(Object source,
                   Object dest)
Constructor.

Parameters:
source - the source
dest - 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 destination)
Parameters:
destination - The destination to set.

setSource

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

delete

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


toString

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

getAnnotatedElement

public Object getAnnotatedElement()

setAnnotatedElement

public void setAnnotatedElement(Object annotatedElement)

getComment

public Object getComment()

setComment

public void setComment(Object comment)


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook