@OpenApiAll
public class Relation
extends java.lang.Object
Constructor and Description |
---|
Relation(java.lang.String semanticType,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
java.lang.String name,
java.lang.String direction)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDirection()
Gets direction as String.
|
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element |
getElement()
Gets relation element.
|
java.lang.String |
getName()
Gets relation name.
|
java.lang.String |
getSemanticType()
Gets the semantic type.
|
void |
setDirection(java.lang.String direction)
Sets direction as String.
|
void |
setElement(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
Sets relation element.
|
void |
setRelation(java.lang.String name)
Sets relation name.
|
void |
setSemanticType(java.lang.String semanticType)
Sets semantic type.
|
public Relation(java.lang.String semanticType, @CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.lang.String name, java.lang.String direction)
semanticType
- semantic typeelement
- relation elementname
- relation namedirection
- directionpublic java.lang.String getSemanticType()
public void setSemanticType(java.lang.String semanticType)
semanticType
- semantic typepublic com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element getElement()
public void setElement(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
element
- relation elementpublic java.lang.String getName()
public void setRelation(java.lang.String name)
name
- relation namepublic java.lang.String getDirection()
public void setDirection(java.lang.String direction)
direction
- direction as StringCopyright © 2015 - No Magic Asia