Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JEAF Generator makes us of the so called builder pattern for Service Objects and POJOs. In case that attributes in the UML model are marked to be readonly, then these attributes can only be set using the builder but not directly using methods on the generated class itself.

...

Transient Modifier for

...

Attributes /

...

Roles

Using stereotype «Transient» it is possible to add keyword transient to generated code.

Reduce visibility of

...

Attributes /

...

Roles

Using stereotype «Internal» it is possible to change the visibility of generated accessor access methods to package visibility.

Usage of

...

Derived Properties

UML supports so called derived properties. This means that a property can be derived (calculated) from other properties of an object. JEAF Generator also supports derived properties. In the generated Java code this will lead to a getXYZ( ) operation that has to be implemented manually.

...