template.conf.sit_javaee6.java-code.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sit-ad Show documentation
Show all versions of sit-ad Show documentation
SIToolkit for Application Develepment
The newest version!
package $code.pkg;
import ${code.appRootPkg}.infra.code.ICode;
/**
*
* @auther
**/
public enum $code.pname implements ICode{
#foreach ($item in $code.items)
${item.escapedLabel}("$item.code", "$item.label"),
#end
;
private ${code.pname}(String value, String label) {
this.value = value;
this.label = label;
}
private String value;
private String label;
public String getValue() {
return value;
}
public String getLabel() {
return label;
}
@Override
public String toString() {
return getLabel();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy