Module: Muml_UML

Defined in:
lib/ontomde-java/java/xsd.rb,
lib/ontomde-java/java/java.rb

Instance Method Summary collapse

Instance Method Details

#java_writeClassModifiersObject

write java class modifiers if needed (abstract, public, …) Example: public abstract



471
472
473
474
475
476
# File 'lib/ontomde-java/java/java.rb', line 471

def java_writeClassModifiers
  uml_visibility.each { |v|
    write(v.java_visibilityModifiers)
  }
  write "abstract " if uml_isAbstract?
end

#java_writeStaticModifierObject

write java static modifier if needed



479
480
481
# File 'lib/ontomde-java/java/java.rb', line 479

def java_writeStaticModifier
  write("static ") if uml_isStatic?
end

#xsd_writeClassModifiersObject

write java class modifiers if needed (abstract, public, …) Example: public abstract



565
566
567
568
569
570
# File 'lib/ontomde-java/java/xsd.rb', line 565

def xsd_writeClassModifiers
  #uml_visibility.each { |v|
  #  write(v.xsd_visibilityModifiers)
  #}
  write "abstract " if uml_isAbstract?
end

#xsd_writeStaticModifierObject

write java static modifier if needed



573
574
575
# File 'lib/ontomde-java/java/xsd.rb', line 573

def xsd_writeStaticModifier
  write("static ") if uml_isStatic?
end