The Java transformation converts Platform-Independent Model (PIM) element types to Java-specific Class element types, and creates encapsulation (producing the getters and setters) according to the options you have set for creating properties from Java attributes (on the 'Java Specifications' page of the 'Options' dialog). Note that the public attributes in the PIM are converted to private attributes in the PSM. All operations in the interface are transformed into pure virtual methods.
The PIM elements
After transformation, become the PSM elements