def private allValuesConstructor() '''
public «type.name»(«allProperties.asArgumentsDeclaration») {
- «IF false == parentProperties.empty»
+ «IF !parentProperties.empty»
super(«parentProperties.asArguments»);
«ENDIF»
«FOR p : allProperties»
@«ConstructorParameters.importedName»("«TypeConstants.VALUE_PROP»")
@«ConstructorProperties.importedName»("«TypeConstants.VALUE_PROP»")
public «type.name»(«allProperties.asArgumentsDeclaration») {
- «IF false == parentProperties.empty»
+ «IF !parentProperties.empty»
super(«parentProperties.asArguments»);
«ENDIF»
«FOR p : allProperties»
def protected genConstructor(GeneratedProperty property, Iterable<GeneratedProperty> other) '''
public «type.name»(«property.returnType.importedName + " " + property.name») {
- «IF false == parentProperties.empty»
+ «IF !parentProperties.empty»
super(«parentProperties.asArguments»);
«ENDIF»
* @param source Source object
*/
public «type.name»(«type.name» source) {
- «IF false == parentProperties.empty»
+ «IF !parentProperties.empty»
super(source);
«ENDIF»
«FOR p : properties»