
templates.cs.enum.vm Maven / Gradle / Ivy
#* @vtlvariable name="typeDescriptor" type="cc.catalysts.cdoclet.generator.velocity.TypeDescriptor" *#
#parse("templates/cs/cs_macros.vm")
#*
ENUM
*#
namespace $typeDescriptor.nameSpace {
#region CDoclet generated code
#if($typeDescriptor.description) /**
*
* $typeDescriptor.description
*
*/
#end
#foreach($annotation in $typeDescriptor.annotations) [$annotation.name]
#end
public enum $typeDescriptor.typeName#cs_generics($typeDescriptor)#cs_bounds($typeDescriptor) {#foreach($fieldDescriptor in $typeDescriptor.fieldDescriptors)#if($velocityCount>1), #end
$fieldDescriptor.fieldName#if($fieldDescriptor.value) = $fieldDescriptor.value#end#end
}
#endregion
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy