Class UMLRelationship
java.lang.Object
de.elnarion.util.plantuml.generator.classdiagram.internal.UMLRelationship
- All Implemented Interfaces:
PlantUMLDiagramElement
The Class UMLRelationship encapsulates all information needed for creating a
diagram text for a uml relationship object..
-
Constructor Summary
ConstructorsConstructorDescriptionUMLRelationship(String paramFromMultiplicity, String paramToMultiplicity, String paramName, String paramFromName, String paramToName, RelationshipType paramRelationshipType, List<String> paramAnnotations) Instantiates a new UML relationship. -
Method Summary
-
Constructor Details
-
UMLRelationship
public UMLRelationship(String paramFromMultiplicity, String paramToMultiplicity, String paramName, String paramFromName, String paramToName, RelationshipType paramRelationshipType, List<String> paramAnnotations) Instantiates a new UML relationship.- Parameters:
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 relationshipparamAnnotations- - List - a list of annotations for this relationship
-
-
Method Details
-
getDiagramText
Gets the diagram text.- Specified by:
getDiagramTextin interfacePlantUMLDiagramElement- Returns:
- the diagram text
-