Module: Muml_VisibilityKind

Defined in:
lib/ontomde-uml2-java/java.rb

Instance Method Summary collapse

Instance Method Details

#java_visibilityModifiersObject

returns java visibility modifiers (public/protected/private/package)



348
349
350
351
352
353
354
# File 'lib/ontomde-uml2-java/java.rb', line 348

def java_visibilityModifiers
  return "public " if isPublic?
  return "protected " if isProtected?
  return "private " if isPrivate?
  return "" if isPackage?
  return " !! error : unknown visibility #{uri}!! "
end