Model mapping for Java (Java code)
ACS does not generate anything directly for the Model; however, if the Model directly owns a Class, ACS generates the Model as the Java default unnamed package.
Example code:
// Note the lack of a package statement
public class foo
{
// ...
}
All Model properties are ignored.
Child items:
| Reverser Notes: When reverse engineering code, used built in Java types are created in the Model (directly scoped to the Model) if they are not present. |
• If the Model directly owns
Classes, ACS generates each Class in the folder created for the package. For Class mapping information, see
Class mapping for Java (Java code).
Example code:
// Note the lack of a package statement
public class foo
{
// ...
}
• If the Model directly owns
Packages, ACS generates the sub-Packages as subfolders and Java packages depending on the Package's mapping. For Package mapping information, see
Package mapping for Java (Java code).
• If the Model owns
Type Definitions of type Enumeration, ACS generates each Type Definition in the folder created for the Model. For Type Definition mapping information, see
Type definition mapping for Java (Java code).
Other child items are ignored.