public class UMLClass extends Object implements PlantUMLDiagramElement
| Constructor and Description |
|---|
UMLClass(VisibilityType paramVisibilityType,
ClassType paramClassType,
List<UMLField> paramFields,
List<UMLMethod> paramMethods,
String paramName,
List<String> paramStereotypes)
Instantiates a new UML class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addField(UMLField paramField)
Adds the field.
|
void |
addMethod(UMLMethod paramMethod)
Adds the method.
|
ClassType |
getClassType()
Gets the class type.
|
String |
getDiagramText()
Gets the diagram text.
|
List<UMLField> |
getFields()
Gets the fields.
|
List<UMLMethod> |
getMethods()
Gets the methods.
|
String |
getName()
Gets the name.
|
List<String> |
getStereotypes()
Gets the stereotypes.
|
VisibilityType |
getVisibilityType()
Gets the visibility type.
|
public UMLClass(VisibilityType paramVisibilityType, ClassType paramClassType, List<UMLField> paramFields, List<UMLMethod> paramMethods, String paramName, List<String> paramStereotypes)
paramVisibilityType - - VisibilityType - the visibility typeparamClassType - - ClassType - the class typeparamFields - - List<UMLField> - the uml field
information listparamMethods - - List<UMLMethod> - the uml method
information listparamName - - String - the class nameparamStereotypes - - List<String> - the stereotypes of the
classpublic List<String> getStereotypes()
public VisibilityType getVisibilityType()
public String getName()
public ClassType getClassType()
public String getDiagramText()
PlantUMLDiagramElementgetDiagramText in interface PlantUMLDiagramElementpublic void addField(UMLField paramField)
paramField - the param fieldpublic void addMethod(UMLMethod paramMethod)
paramMethod - the param methodCopyright © 2019. All rights reserved.