You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Java built-in types are used from the UML Standard Profile, which is automatically loaded with every new project.

Show Auxiliary Resources

The UML Standard Profile by default is hidden. If you want to see it, select Show Auxiliary Resources in the Model Browser.


Every referenced class from the other libraries (including JDK libraries) should be imported/created into a project and referenced in the CES reference path (by default the reference path is Model package in the model).

A modeling tool resolves referenced classes from the specified class path (by default, the class path is the boot class path taken from the JVM on which the modeling tool is started). It creates an appropriate package structure as described below in Sorting reversed classes according to the classpath.

If a referenced class is not found in the model or the class path, the reference is created in the Default package. 

Java Profile defines the UML Class with the name "?". It is used for mapping parameterized types.


Sorting reversed classes according to the classpath

References are sorted to packages according to the classpath entry.

The figure below shows how the reverse result of the following java code is represented:

Example

Java code

import javax.swing.*; public class CustomFrame extends JFrame { String mTitle; }


Sample: The String, JFrame and CustomFrame classes location after reverse 

Related Pages: