====== 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: ''%%//enh:field%%'' the most common tag. * Insert: ''%%//enh:insert%%'' required for the script to add the code * SCO: ''%%//enh:sco SCOType%%'' indicate that the class is SCO ===== Field ===== * getter * setter * getmethod=methname * setmethod=methname * attr=Attribute * type * quantity * edge 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();