
codegen.messages.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.generator Show documentation
Show all versions of tsl2.nano.generator Show documentation
velocity template generator through classes or dom
/*
* File: $HeadURL$
* Id : $Id$
*
* created by: velocity template (${template})
* created on: ----/--/-- (not filled with property 'time' to simplify version-diffs)
*
* ${copyright}
*/
package ${package};
#define($attKey) KEY_${util.toUpperCase(${att.Name})}#end
#define($attKeyTooltip) KEY_TOOLTIP_${util.toUpperCase(${att.Name})}#end
#define($attName) ATTR_${util.toUpperCase(${att.Name})}#end
/**
* Attribute and message label key definition for Messages.
*
* Generated do not modify!!!
*
* @author Generated through velocity template (messages.vm)
* @version $Revision$
*/
public interface ${class.Name} {
#foreach( $att in $class.Attributes)
/** key name of $att.Name in resource bundle */
public static final int ${attKey} = ${attKey}.hashcode();
#end
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy