public class UMLRelationship extends Object implements PlantUMLDiagramElement
| Constructor and Description |
|---|
UMLRelationship(String paramFromMultiplicity,
String paramToMultiplicity,
String paramName,
String paramFromName,
String paramToName,
RelationshipType paramRelationshipType)
Instantiates a new UML relationship.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDiagramText()
Gets the diagram text.
|
String |
getFromMultiplicity()
Gets the from multiplicity.
|
String |
getFromName()
Gets the from name.
|
String |
getName()
Gets the name.
|
RelationshipType |
getRelationshiptype()
Gets the relationshiptype.
|
String |
getToMultiplicity()
Gets the to multiplicity.
|
String |
getToName()
Gets the to name.
|
public UMLRelationship(String paramFromMultiplicity, String paramToMultiplicity, String paramName, String paramFromName, String paramToName, RelationshipType paramRelationshipType)
paramFromMultiplicity - - String - the from multiplicity of this
association as StringparamToMultiplicity - - String - the to multiplicity of this
association as StringparamName - - String - the name of this relationship
(normally the field name in the referencing
class object)paramFromName - - String - the class name where this
relationship starts (from)paramToName - - String - the class name where this
relationship ends (to)paramRelationshipType - - RelationshipType - the type of this
relationshippublic String getFromMultiplicity()
public String getToMultiplicity()
public String getName()
public String getFromName()
public String getToName()
public RelationshipType getRelationshiptype()
public String getDiagramText()
PlantUMLDiagramElementgetDiagramText in interface PlantUMLDiagramElementCopyright © 2019. All rights reserved.