Module: Muml_VisibilityKind

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

Instance Method Summary collapse

Instance Method Details

#java_visibilityModifiersObject

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_visibilityModifiersObject

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