com.gwtplatform.dispatch.rest.rebind.subresource.SubResource.vm Maven / Gradle / Ivy
package $package;
import com.gwtplatform.dispatch.rest.client.core.parameters.HttpParameterFactory;
#foreach ($import in $imports)
import $import;
#end
public class $impl implements $resourceType {
private final HttpParameterFactory httpParameterFactory;
private final String defaultDateFormat;
#foreach ($param in $parameters)
private final $param.getParameterizedQualifiedName() $param.variableName;
#end
${impl}(
HttpParameterFactory httpParameterFactory,
String defaultDateFormat#generateAppendedMethodSignature($parameters)) {
this.httpParameterFactory = httpParameterFactory;
this.defaultDateFormat = defaultDateFormat;
#foreach ($param in $parameters)
this.$param.variableName = $param.variableName;
#end
}
#foreach ($method in $methods)
$method.output
#end
}