src.velocity.pojo.PojoPropertyAccessors.vm Maven / Gradle / Ivy
// Property accessors
#foreach($property in $pojo.getAllPropertiesIterator())
#if($pojo.getMetaAttribAsBool($property, "gen-property", true))
#if($pojo.hasFieldJavaDoc($property))
/**
* $pojo.getFieldJavaDoc($property, 4)
*/
#end
$templates.Ejb3PropertyGetAnnotation
$pojo.getPropertyGetModifiers($property) $pojo.getJavaTypeName($property, $jdk5) $pojo.getGetterSignature($property)() {
return this.$property.name;
}
$pojo.getPropertySetModifiers($property) void set$pojo.getPropertyName($property)($pojo.getJavaTypeName($property, $jdk5) $property.Name) {
this.$property.Name = $property.Name;
}
#end
#end