Module: Muml_UML
- Defined in:
- lib/ontomde-java/java/xsd.rb,
lib/ontomde-java/java/java.rb
Instance Method Summary collapse
-
#java_writeClassModifiers ⇒ Object
write java class modifiers if needed (abstract, public, …) Example: public abstract.
-
#java_writeStaticModifier ⇒ Object
write java static modifier if needed.
-
#xsd_writeClassModifiers ⇒ Object
write java class modifiers if needed (abstract, public, …) Example: public abstract.
-
#xsd_writeStaticModifier ⇒ Object
write java static modifier if needed.
Instance Method Details
#java_writeClassModifiers ⇒ Object
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_writeStaticModifier ⇒ Object
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_writeClassModifiers ⇒ Object
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_writeStaticModifier ⇒ Object
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 |