Module: Muml_VisibilityKind
- Defined in:
- lib/ontomde-java/java/xsd.rb,
lib/ontomde-java/java/java.rb
Instance Method Summary collapse
-
#java_visibilityModifiers ⇒ Object
returns java visibility modifiers (public/protected/private/package).
-
#xsd_visibilityModifiers ⇒ Object
returns java visibility modifiers (public/protected/private/package).
Instance Method Details
#java_visibilityModifiers ⇒ Object
returns java visibility modifiers (public/protected/private/package)
459 460 461 462 463 464 465 |
# File 'lib/ontomde-java/java/java.rb', line 459 def java_visibilityModifiers return "public " if isPublic? return "protected " if isProtected? return "private " if isPrivate? return "" if isPackage? return " !! error : unknown visibility #{uri}!! " end |
#xsd_visibilityModifiers ⇒ Object
returns java visibility modifiers (public/protected/private/package)
553 554 555 556 557 558 559 |
# File 'lib/ontomde-java/java/xsd.rb', line 553 def xsd_visibilityModifiers return "public " if isPublic? return "protected " if isProtected? return "private " if isPrivate? return "" if isPackage? return " !! error : unknown visibility #{uri}!! " end |