Title: Nachricht
Hi,
 
what is the best way to write a template so it is possible to assign a value like                      
 
  final static java.lang.String NEW = "new";
 
Hint: The part in the XMI-File looks like
 
  <UML:Attribute xmi.id = 'lsm:d0d12e:f9a768be69:-76fe' name = 'NEW' visibility = 'private'
      isSpecification = 'false' ownerScope = 'instance'>
      <UML:Attribute.initialValue>
          <UML:_expression_ xmi.id = 'lsm:d0d12e:f9a768be69:-76fd' language = 'java'
              body = '&quot;new&quot;'/>
      </UML:Attribute.initialValue>
      <UML:StructuralFeature.type>
          <UML:Class xmi.idref = 'lsm:13fba1:f9942f0829:-7fec'/>
      </UML:StructuralFeature.type>
   </UML:Attribute>
 
Thank you for your help!
 
Joerg

Reply via email to