«ENDIF»
'''
- def private allValuesConstructor() '''
+ def allValuesConstructor() '''
public «type.name»(«allProperties.asArgumentsDeclaration») {
«IF !parentProperties.empty»
super(«parentProperties.asArguments»);
}
}
- def private generateRestrictions(Type type, String paramName, Type returnType) '''
+ def generateRestrictions(Type type, String paramName, Type returnType) '''
«val restrictions = type.restrictions»
«IF restrictions !== null»
«IF restrictions.lengthConstraint.present || restrictions.rangeConstraint.present»