|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--UML.Code.Attribute
Attribute class represent an attribute of the Java class for which code is generated.
| Constructor Summary | |
Attribute()
Constructor. |
|
| Method Summary | |
java.lang.String |
getCode()
Gets the code for the declaration of this attribute. |
void |
setChangeability(java.lang.String changeability)
Sets the changeability status of the attribute (i.e. if final). |
void |
setMultiplicity(int multiplicity)
Sets the multiplicity of the attribute. |
void |
setName(java.lang.String name)
Sets the name of the attribute. |
void |
setOwnerScope(java.lang.String ownerScope)
Sets the ownerScope value for the attribute (classifier or instance). |
void |
setType(java.lang.String type)
Sets the type of the attribute (class,interface or datatype (i.e. primitive type)). |
void |
setTypename(java.lang.String typename)
Sets the name of type of the attribute (e.g. int, String, Object, boolean ecc.). |
void |
setVisibility(java.lang.String visibility)
Sets the visibility of the attribute. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Attribute()
| Method Detail |
public void setName(java.lang.String name)
public void setType(java.lang.String type)
public void setTypename(java.lang.String typename)
public void setVisibility(java.lang.String visibility)
public void setMultiplicity(int multiplicity)
public void setChangeability(java.lang.String changeability)
public void setOwnerScope(java.lang.String ownerScope)
public java.lang.String getCode()
code the generated code.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||