org.cumt.model
Class Relation
java.lang.Object
org.cumt.model.IdentifiedObject
org.cumt.model.PropertyAwareObject
org.cumt.model.BaseModelNode
org.cumt.model.ModelObject
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
|
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 java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
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
Relation
public Relation()
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.