|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--UML.Code.Method.Method
Method class represent a method of the Java class for which code is generated.
| Constructor Summary | |
Method()
Constructor. |
|
| Method Summary | |
void |
add(Body body)
Adds the method body. |
void |
add(Parameter parameter)
Adds a parameter to this method. |
java.lang.String |
getCode(boolean isConstructor)
Gets the code for this method. |
java.lang.String |
getName()
Gets the name of the method. |
void |
setIsAbstract(boolean isAbstract)
Determines if the method is declared abstract. |
void |
setName(java.lang.String name)
Sets the name of the method. |
void |
setVisibility(java.lang.String visibility)
Sets the visibility of the method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Method()
| Method Detail |
public void setName(java.lang.String name)
public java.lang.String getName()
name the name of the method.public void setIsAbstract(boolean isAbstract)
public void setVisibility(java.lang.String visibility)
public void add(Parameter parameter)
public void add(Body body)
public java.lang.String getCode(boolean isConstructor)
code the generated code.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||