org.cumt.model
Class Relation

java.lang.Object
  extended by org.cumt.model.IdentifiedObject
      extended by org.cumt.model.PropertyAwareObject
          extended by org.cumt.model.BaseModelNode
              extended by org.cumt.model.ModelObject
                  extended by org.cumt.model.Relation
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
Aggregation, Association, Call, Composition, Dependency, Generalization, NoteRelation, Realization

public class Relation
extends ModelObject

Represents some kind of relation between two objects in a model

Author:
Carlos Descalzi
See Also:
Serialized Form

Field Summary
static java.lang.String SOURCE
           
static java.lang.String TARGET
           
 
Fields inherited from class org.cumt.model.ModelObject
STEREOTYPE
 
Fields inherited from class org.cumt.model.BaseModelNode
ATTRIBUTES, DESCRIPTION, IGNORED_ON_GENERATION, NAME
 
Constructor Summary
Relation()
           
 
Method Summary
 ModelObject getSource()
           
 ModelObject getTarget()
           
 void setSource(RelationableModelObject source)
           
 void setTarget(RelationableModelObject target)
           
 
Methods inherited from class org.cumt.model.ModelObject
clone, getStereotype, setStereotype
 
Methods inherited from class org.cumt.model.BaseModelNode
getAttribute, getAttributeNames, getAttributes, getCreationDate, getDefaultName, getDescription, getName, getParent, isIgnoredOnGeneration, removeAttribute, setAttribute, setAttributes, setDescription, setIgnoredOnGeneration, setName, setParent, toString
 
Methods inherited from class org.cumt.model.PropertyAwareObject
addPropertyChangeListener, firePropertyChange, removePropertyChangeListener
 
Methods inherited from class org.cumt.model.IdentifiedObject
equals, getId, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SOURCE

public static final java.lang.String SOURCE
See Also:
Constant Field Values

TARGET

public static final java.lang.String TARGET
See Also:
Constant Field Values
Constructor Detail

Relation

public Relation()
Method Detail

getSource

public ModelObject getSource()

setSource

public void setSource(RelationableModelObject source)

getTarget

public ModelObject getTarget()

setTarget

public void setTarget(RelationableModelObject target)


Copyright © 2006 null. All Rights Reserved.