templates.jdbc.del-cmd.hbs Maven / Gradle / Ivy
The newest version!
package {{config.packageName}}{{viewModifier}}.cmd;
import java.sql.*;
import java.util.List;
{{> [header-comment.java]}}
/**
* @author xwx
*/
public class {{className}} {
{{#if hasKey}}
{{#eq keys.size 1}}
List<{{{firstKeyType}}}> {{firstLow firstKeyName}}s ;
public List<{{{firstKeyType}}}> get{{firstUp firstKeyName}}s(){
return this.{{firstLow firstKeyName}}s;
}
public void set{{firstUp firstKeyName}}s(List<{{{firstKeyType}}}> {{firstLow firstKeyName}}s){
this.{{firstLow firstKeyName}}s = {{firstLow firstKeyName}}s;
}
{{~else~}}
public {{className}}(){
throw new RuntimeException("{{className}} must have one key");
}
{{/eq}}
{{/if}}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy