java.lang.Object
de.elnarion.util.plantuml.generator.classdiagram.internal.UMLRelationship
All Implemented Interfaces:
PlantUMLDiagramElement

public class UMLRelationship extends Object implements PlantUMLDiagramElement
The Class UMLRelationship encapsulates all information needed for creating a diagram text for a uml relationship object..
  • 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 String
      paramToMultiplicity - - String - the to multiplicity of this association as String
      paramName - - 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 relationship
      paramAnnotations - - List - a list of annotations for this relationship
  • Method Details