|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.finalist.mmbase.uml.MMBaseRelationVo
public class MMBaseRelationVo
Value object that models all MMbase relations define in UML. Both dependencies and associations are supported. Copyright 2003 Finalist IT-Group -- all rights reserved
Constructor Summary | |
---|---|
MMBaseRelationVo(java.lang.String type,
java.lang.String sourceName,
java.lang.String targetName,
java.lang.String sourceCardinalityLower,
java.lang.String sourceCardinalityUpper,
java.lang.String targetCardinalityLower,
java.lang.String targetCardinalityUpper,
java.lang.String directed,
java.lang.String targetRoleName,
org.omg.uml.foundation.core.ModelElement targetModelElement)
The constructor |
Method Summary | |
---|---|
java.lang.String |
getDirected()
Getter of the directed value. |
java.lang.String |
getSourceCardinalityLower()
Getter of the sourceCardinalityLower. |
java.lang.String |
getSourceCardinalityUpper()
Getter of the sourceCardinalityUpper. |
java.lang.String |
getSourceName()
Getter of the sourcename. |
java.lang.String |
getTargetCardinalityLower()
Getter of the targetCardinalityLower. |
java.lang.String |
getTargetCardinalityUpper()
Getter of the targetCardinalityUpper. |
org.omg.uml.foundation.core.ModelElement |
getTargetModelElement()
Getter of the target object. |
java.lang.String |
getTargetName()
Getter of the targetname. |
java.lang.String |
getTargetRoleName()
Getter of the targetRoleName value. |
java.lang.String |
getType()
Getter of the type. |
void |
setDirected(java.lang.String directed)
Setter of the directed. |
void |
setSourceCardinalityLower(java.lang.String sourceCardinalityLower)
Setter of the sourceCardinalityLower. |
void |
setSourceCardinalityUpper(java.lang.String sourceCardinalityUpper)
Setter of the sourceCardinalityUpper. |
void |
setSourceName(java.lang.String sourceName)
Setter of the sourcename. |
void |
setTargetCardinalityLower(java.lang.String targetCardinalityLower)
Setter of the targetCardinalityLower. |
void |
setTargetCardinalityUpper(java.lang.String targetCardinalityUpper)
Setter of the targetCardinalityUpper. |
void |
setTargetModelElement(org.omg.uml.foundation.core.ModelElement targetModelElement)
Setter of the targetModelElement. |
void |
setTargetName(java.lang.String targetName)
Setter of the targetname. |
void |
setTargetRoleName(java.lang.String targetRoleName)
Setter of the targetRoleName. |
void |
setType(java.lang.String type)
Setter of the stereo type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MMBaseRelationVo(java.lang.String type, java.lang.String sourceName, java.lang.String targetName, java.lang.String sourceCardinalityLower, java.lang.String sourceCardinalityUpper, java.lang.String targetCardinalityLower, java.lang.String targetCardinalityUpper, java.lang.String directed, java.lang.String targetRoleName, org.omg.uml.foundation.core.ModelElement targetModelElement)
type
- Stereotype on an attribute.sourceName
- Classname on sourceside of the relation.targetName
- Classname on targetside of the relation.sourceCardinalityLower
- Minimum cardinality on the sourceside of the relation.sourceCardinalityUpper
- Maximum cardinality on the sourceside of the relation.targetCardinalityLower
- Minimum cardinality on the targetside of the relation.targetCardinalityUpper
- Maximum cardinality on the targetside of the relation.directed
- Defines if the relation is directed or undirected.targetRoleName
- Contains the role of the association.targetModelElement
- Contains a link to the modelElement on the otherside of the relation.Method Detail |
---|
public java.lang.String getType()
public void setType(java.lang.String type)
type
- the stereotypepublic java.lang.String getSourceName()
public void setSourceName(java.lang.String sourceName)
sourceName
- the sourceNamepublic java.lang.String getTargetName()
public void setTargetName(java.lang.String targetName)
targetName
- the targetNamepublic java.lang.String getSourceCardinalityLower()
public void setSourceCardinalityLower(java.lang.String sourceCardinalityLower)
sourceCardinalityLower
- the sourceCardinalityLowerpublic java.lang.String getSourceCardinalityUpper()
public void setSourceCardinalityUpper(java.lang.String sourceCardinalityUpper)
sourceCardinalityUpper
- the sourceCardinalityUpperpublic java.lang.String getTargetCardinalityLower()
public void setTargetCardinalityLower(java.lang.String targetCardinalityLower)
targetCardinalityLower
- the targetCardinalityLowerpublic java.lang.String getTargetCardinalityUpper()
public void setTargetCardinalityUpper(java.lang.String targetCardinalityUpper)
targetCardinalityUpper
- the targetCardinalityUpperpublic java.lang.String getDirected()
public void setDirected(java.lang.String directed)
directed
- the directed valuepublic java.lang.String getTargetRoleName()
public void setTargetRoleName(java.lang.String targetRoleName)
targetRoleName
- the targetRoleName valuepublic org.omg.uml.foundation.core.ModelElement getTargetModelElement()
public void setTargetModelElement(org.omg.uml.foundation.core.ModelElement targetModelElement)
targetModelElement
- the targetModelElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |