public class UMLMethod extends Object implements PlantUMLDiagramElement
| Constructor and Description |
|---|
UMLMethod(ClassifierType paramClassifierType,
VisibilityType paramVisibility,
String paramResultType,
String paramName,
Map<String,String> paramParametersAndType,
List<String> paramStereotypes)
Instantiates a new method.
|
| Modifier and Type | Method and Description |
|---|---|
ClassifierType |
getClassifierType()
Gets the classifier type.
|
String |
getDiagramText()
Gets the diagram text.
|
String |
getName()
Gets the name.
|
Map<String,String> |
getParametersAndTypes()
Gets the parameters and types.
|
String |
getResultType()
Gets the result type.
|
VisibilityType |
getVisibilityType()
Gets the visibility type.
|
public UMLMethod(ClassifierType paramClassifierType, VisibilityType paramVisibility, String paramResultType, String paramName, Map<String,String> paramParametersAndType, List<String> paramStereotypes)
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
methodpublic String getName()
public ClassifierType getClassifierType()
public VisibilityType getVisibilityType()
public String getResultType()
public Map<String,String> getParametersAndTypes()
public String getDiagramText()
PlantUMLDiagramElementgetDiagramText in interface PlantUMLDiagramElementCopyright © 2020. All rights reserved.