Java Reference
In-Depth Information
« DEFINE setter FOR oocore::Attribute-»
« EXPAND generatedComment FOR this
public void set«name.toFirstUpper()»(« this .dataType.name» «name») {
this.«name» = «name»;
}
« ENDDEFINE »
« DEFINE getter FOR oocore::Reference-»
« IF this .generateReference()-»
« EXPAND generatedComment FOR this
public «wrapIfCollection( this )» get«name.toFirstUpper()»() {
return «name»;
}
« ENDIF »
« ENDDEFINE »
« DEFINE setter FOR oocore::Reference-»
« IF this .generateReference()-»
« EXPAND generatedComment FOR this
public void set«name.toFirstUpper()»(«wrapIfCollection( this
«name») {
this.«name» = «name»;
}
« ENDIF »
« ENDDEFINE »
« DEFINE method FOR oocore::Operation-»
« EXPAND generatedComment FOR this
«visibility.toString().toLowerCase()-» «wrapIfCollection( this
«name-»(« EXPAND parameter FOREACH parameters SEPARATOR ','») {
//TODO: implement method
}
« ENDDEFINE »
« DEFINE parameter FOR oocore::Parameter-»
«wrapIfCollection( this )» «name-»
« ENDDEFINE »
« DEFINE generatedComment FOR Object-»
/**
*@generated
*/
« ENDDEFINE »
« DEFINE toColumnName FOR String-»
« FOREACH this .toCharList() AS char ITERATOR i-»
« IF i.counter0 == 0-»«char.toUpperCase()-»
« ELSE -»«char.asColumnNameChar()-»« ENDIF -»« ENDFOREACH
« ENDDEFINE »
« DEFINE additions FOR dnc::Archetype-»« ENDDEFINE »
Search WWH ::




Custom Search