public class ClassEdgeImpl extends EdgeImpl implements ClassEdge
Constructor and Description |
---|
ClassEdgeImpl(ClassNode relatedSourceNode,
ClassNode relatedTargetNode,
Cardinality sourceAlwaysCardinality,
Cardinality sourceEventuallyCardinality,
Cardinality targetAlwaysCardinality,
Cardinality targetEventuallyCardinality) |
ClassEdgeImpl(java.lang.String name,
ClassNode relatedSourceNode,
ClassNode relatedTargetNode,
Cardinality sourceAlwaysCardinality,
Cardinality sourceEventuallyCardinality,
Cardinality targetAlwaysCardinality,
Cardinality targetEventuallyCardinality,
java.util.List<CrelRTEdge> relatedCrelRTRelations) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.util.List<CrelRTEdge> |
getRelatedCrelRTRelations()
returns the set of the crel relations of a class relation
|
Cardinality |
getSourceAlwaysCardinality()
returns the cardinality of the source of a class relation
|
Cardinality |
getSourceEventuallyCardinality()
returns the cardinality of the source of a class relation
|
ClassNode |
getSourceNode()
returns the source of a class relation
|
Cardinality |
getTargetAlwaysCardinality()
returns the cardinality of the target of a class relation
|
Cardinality |
getTargetEventuallyCardinality()
returns the cardinality of the target of a class relation
|
ClassNode |
getTargetNode()
returns the target of a class relation
|
void |
setRelatedCrelRTRelations(java.util.List<CrelRTEdge> relatedCrelRTRelations)
set the set of the crel relations of a class relation
|
void |
setSourceAlwaysCardinality(Cardinality sourceAlwaysCardinality)
set the cardinality of the source of a class relation
|
void |
setSourceEventuallyCardinality(Cardinality sourceEventuallyCardinality)
set the cardinality of the source of a class relation
|
void |
setTargetAlwaysCardinality(Cardinality targetAlwaysCardinality)
set the cardinality of the target of a class relation
|
void |
setTargetEventuallyCardinality(Cardinality targetEventuallyCardinality)
set the cardinality of the target of a class relation
|
getCorrespondingCell, getEdgeName, getID, main, setCorrespondingCell, setEdgeName, setID
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEdgeName, getID, setEdgeName, setID
getCorrespondingCell, setCorrespondingCell
public ClassEdgeImpl(java.lang.String name, ClassNode relatedSourceNode, ClassNode relatedTargetNode, Cardinality sourceAlwaysCardinality, Cardinality sourceEventuallyCardinality, Cardinality targetAlwaysCardinality, Cardinality targetEventuallyCardinality, java.util.List<CrelRTEdge> relatedCrelRTRelations)
public ClassEdgeImpl(ClassNode relatedSourceNode, ClassNode relatedTargetNode, Cardinality sourceAlwaysCardinality, Cardinality sourceEventuallyCardinality, Cardinality targetAlwaysCardinality, Cardinality targetEventuallyCardinality)
public java.lang.Object clone()
public ClassNode getSourceNode()
ClassEdge
getSourceNode
in interface ClassEdge
public ClassNode getTargetNode()
ClassEdge
getTargetNode
in interface ClassEdge
public Cardinality getSourceAlwaysCardinality()
ClassEdge
getSourceAlwaysCardinality
in interface ClassEdge
public Cardinality getSourceEventuallyCardinality()
ClassEdge
getSourceEventuallyCardinality
in interface ClassEdge
public Cardinality getTargetAlwaysCardinality()
ClassEdge
getTargetAlwaysCardinality
in interface ClassEdge
public Cardinality getTargetEventuallyCardinality()
ClassEdge
getTargetEventuallyCardinality
in interface ClassEdge
public java.util.List<CrelRTEdge> getRelatedCrelRTRelations()
ClassEdge
getRelatedCrelRTRelations
in interface ClassEdge
public void setSourceAlwaysCardinality(Cardinality sourceAlwaysCardinality)
ClassEdge
setSourceAlwaysCardinality
in interface ClassEdge
public void setSourceEventuallyCardinality(Cardinality sourceEventuallyCardinality)
ClassEdge
setSourceEventuallyCardinality
in interface ClassEdge
public void setTargetAlwaysCardinality(Cardinality targetAlwaysCardinality)
ClassEdge
setTargetAlwaysCardinality
in interface ClassEdge
public void setTargetEventuallyCardinality(Cardinality targetEventuallyCardinality)
ClassEdge
setTargetEventuallyCardinality
in interface ClassEdge
public void setRelatedCrelRTRelations(java.util.List<CrelRTEdge> relatedCrelRTRelations)
ClassEdge
setRelatedCrelRTRelations
in interface ClassEdge