Methode de génération des methodes (avec corps) qui permet de generer
des methodes avec des nom (et corps) différent suivant si on l'appel
pour générer le operation de la classe actuelle ou celles de ses
super classes.
Methode de génération des methodes (sans corps) qui permet de generer
des methodes avec des nom différent suivant si on l'appel
pour générer le operation de la classe actuelle ou celles de ses
super classes.
add a toString method
if a toString tagValue is attached to businessEntity, it will be used
to generate a toString as this :
given "hello {Person.name|unknow}"
will try to replace first {...} by name field value for extension Person.
map "Client.name" to "getName()" or any getter to read this attribute
those getter names are stored while generating in order to be found
later when generating toString()
map "Client.name" to "getName()" or any getter to read this attribute
those getter names are stored while generating in order to be found
later when generating toString()
wikitty interface provide getFieldAsString, getFieldAsDate etc. methods
this method returns the good name of the method to call depending the
type given as parameter
pattern to parse toString tagValue
for the string "abc{foo|bar}defrzeg{uvw|xyz}oeira"
will match {foo|bar} and {uvw|xyz} with groups for foo, bar, uvw and xyz
Wikitty generation steps :
transform user model to wikitty intermediate model
generate from wikitty intermediate model :
a contract;
an abstract class;
an implementation;
a helper