com.ashridgetech.jamda.uml
Class StructuredType.Visibility

java.lang.Object
  |
  +--com.ashridgetech.jamda.uml.StructuredType.Visibility
Enclosing class:
StructuredType

public static class StructuredType.Visibility
extends java.lang.Object

Typesafe enum to represent the visibility of Operations and Attributes in a type.


Field Summary
static StructuredType.Visibility PACKAGE
           
static StructuredType.Visibility PRIVATE
           
static StructuredType.Visibility PROTECTED
           
static StructuredType.Visibility PUBLIC
           
 
Method Summary
(package private) static StructuredType.Visibility getInstance(ru.novosoft.uml.foundation.data_types.MVisibilityKind vis)
          Get the instance of this class with the given name.
(package private)  ru.novosoft.uml.foundation.data_types.MVisibilityKind getValue()
          Return the internal encoding for this instance
 java.lang.String toString()
          Return the name as used to obtain this instance from #getInstance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PUBLIC

public static final StructuredType.Visibility PUBLIC

PROTECTED

public static final StructuredType.Visibility PROTECTED

PACKAGE

public static final StructuredType.Visibility PACKAGE

PRIVATE

public static final StructuredType.Visibility PRIVATE
Method Detail

getInstance

static StructuredType.Visibility getInstance(ru.novosoft.uml.foundation.data_types.MVisibilityKind vis)
Get the instance of this class with the given name.

Returns:
the object with the value name
Throws:
java.lang.IllegalArgumentException - if there is no instance with the value name

toString

public java.lang.String toString()
Return the name as used to obtain this instance from #getInstance.

Overrides:
toString in class java.lang.Object

getValue

ru.novosoft.uml.foundation.data_types.MVisibilityKind getValue()
Return the internal encoding for this instance



Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.