Table of Contents

Code enhancement

The code required for the persistence can be automatically added in a java project with //enh: commands. Then, the maven build will automatically process the file into adding the required code.

The list of available tags is:

Field

protected float radius;
//enh:field attr=Attributes.RADIUS getter setter
 
// boolean open
//enh:field type=bits(BASE_OPEN_MASK) attr=Attributes.OPEN getter setter

Insert

// enh:insert $TYPE.setSerializable(false);
 
// enh:insert initType();