blob: 47ed3132a51a590f81f41f5682ff1cf3a1e167bc [file] [log] [blame]
#if(!$artifact.Fields.isEmpty())
<ts:fields>
#foreach($field in $artifact.Fields)
<ts:field name="$field.Name" visibility="$field.Visibility.Label"
type="$field.Type.FullyQualifiedName" typeMultiplicity="$field.Type.TypeMultiplicity.Label"
readonly="$field.ReadOnly"
unique="$field.Unique" ordered="$field.Ordered"
#if ( $field.DefaultValue)
defaultValue="$entityUtil.encode($field.DefaultValue)"
#end
>
#set ($component = $field)
#parse ("templates/xml/Stereotypes.vm")
#parse ("templates/xml/Comment.vm")
</ts:field>
#end
</ts:fields>
#end