Module: Mxsd_Annotation

Included in:
Muml_Classifier, Muml_Operation, Muml_Property
Defined in:
lib/ontomde-java/java/xsd.rb

Instance Method Summary collapse

Instance Method Details

#xsd_writeAnnotationObject



230
231
232
233
234
235
236
237
238
# File 'lib/ontomde-java/java/xsd.rb', line 230

def xsd_writeAnnotation
  mtk_protected(Mrdf_Resource::NOREVERSE,"annotations") {
    xsd_annotation.each {|a|
      write(a)
      write("\n")
    }
    write("@Override\n") if (self.kind_of?(Muml_Operation) && !umlx_redefinesMethod.empty? && !umlx_redefinesMethod_one.umlx_owner_one.kind_of?(Muml_Interface) )
  }
end