After a UML model has been transformed and you find that the transform needs to be performed again there are some considerations you must be aware. Each time the transformation is run, the previous output is deleted. Therefore, if you make modifications to the code created during a previous transformation and you want to preserve your changes, you must remove the line containing the @generate tag.
Blocks of code in the generated output are delimited by EGL comments that start with BEGIN and stop with END. For example:
/*
* This function returns true if the supplied record is valid.
* Customize to supply validation rules as needed.
* isValid() is called prior to updating or inserting a row into the database.
*/
//BEGIN IsValid
// @generated - Delete generated tag to preserve modified code
Function IsValid(testRecord Employee) returns( boolean )
return( true );
end
//END IsValid