
codegen.beanclass.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
## This is an the velocity template
## to generate a Java class
import java.util.*;
public class $class.Name {
#foreach( $att in $class.Attributes)
/** bean attribute $att.Name */
private $att.Type $att.Name;
/**
* read access method for $att.Name
*/
public $att.Type get$att.NameFU () {
return this.$att.Name;
}
/**
* write access method for $att.Name
*/
public void set$att.NameFU ($att.Type $att.Name) {
this.$att.Name = $att.Name;
}
#end
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy