Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Java Transformation
The purpose of the Java transformation is to convert Platform-Independent Model (PIM) elements to language-specific Java Class elements. The transformation converts the PIM model types to Java types and creates encapsulation according to Enterprise Architect's options for creating properties from Java attributes; that is, producing the getters and setters according to the rules you have defined. Notice that the public attributes in the PIM are converted to private attributes in the PSM.
You set the code generation options for Java code generation on the Java Specifications page of the Options dialog.
Example
The Platform-Independent Model (PIM):
After transformation becomes the PSM:
Learn more
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2013 Sparx Systems Pty Ltd.