Download ArgoUML User Manual - The GNU

Transcript
Built In DataTypes, Classes, Interfaces and
Stereotypes
24.1.2. Exposure in the model
You will not find build-in DataTypes, Classes, and Interfaces exposed within the model by default (i.e.
they are not present in the explorer). However, once you select one of the built-in DataTypes, Classes, or
Interfaces (in the "Type" combo-box on the property sheet of a parameter of an operation of a class),
then it becomes visible: you will find that the DataType, Class, or Interface has appeared in the model,
in its correct package stucture for the latter 2.
24.2. Built In Datatypes
These are the built in atomic types. You can change them if you wish. However this is not good practice.
All these can be found in the java.lang subpackage of the main model.
Caution
You should be aware that these are Java datatypes. They are not mandated by the UML
standard.
These are the standard datatypes. For their definition refer to the Java standard.
•
boolean
•
byte
•
char
•
double
•
float
•
int
•
long
•
short
•
void
Note
void is not strictly speaking a type, but the absence of type. ArgoUML knows about void
and allows it as an option where a datatype may be selected.
24.3. Built In Classes
These are the common classes, corresponding to classes defined within the standard Java environment. It
is up to you if you wish to change them.
These are found in all four subpackages of the java subpackage.
For a definition of these classes see the Java language and library definitions.
336