Class UMLMethod
java.lang.Object
de.elnarion.util.plantuml.generator.classdiagram.internal.UMLMethod
- All Implemented Interfaces:
PlantUMLDiagramElement
The Class UMLMethod encapsulates all information needed for creating a
diagram text for a uml method object.
-
Constructor Summary
ConstructorsConstructorDescriptionUMLMethod(ClassifierType paramClassifierType, VisibilityType paramVisibility, String paramResultType, String paramName, Map<String, String> paramParametersAndType, List<String> paramStereotypes) Instantiates a new method. -
Method Summary
Modifier and TypeMethodDescriptionGets the classifier type.Gets the diagram text.getName()Gets the name.Gets the parameters and types.
-
Constructor Details
-
UMLMethod
public UMLMethod(ClassifierType paramClassifierType, VisibilityType paramVisibility, String paramResultType, String paramName, Map<String, String> paramParametersAndType, List<String> paramStereotypes) Instantiates a new method.- Parameters:
paramClassifierType- -ClassifierType- the classifier typeparamVisibility- -VisibilityType- the visibility typeparamResultType- - String - the result type nameparamName- - String - the method nameparamParametersAndType- - Map<String,String> - the sorted map with parameter names and their corresponding parameter type namesparamStereotypes- - List<String> - the stereotypes of this method
-
-
Method Details
-
getName
Gets the name.- Returns:
- String - the name
-
getClassifierType
Gets the classifier type.- Returns:
- ClassifierType - the classifier type
-
getParametersAndTypes
Gets the parameters and types.- Returns:
- Map - the parameters and types
-
getDiagramText
Description copied from interface:PlantUMLDiagramElementGets the diagram text.- Specified by:
getDiagramTextin interfacePlantUMLDiagramElement- Returns:
- String - the diagram text
-