Class VisibilityKindEnum

java.lang.Object
org.eclipse.emf.common.util.AbstractEnumerator
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.VisibilityKindEnum
All Implemented Interfaces:
VisibilityKind, Serializable, javax.jmi.reflect.RefEnum, org.eclipse.emf.common.util.Enumerator

public final class VisibilityKindEnum extends org.eclipse.emf.common.util.AbstractEnumerator implements VisibilityKind
A representation of the literals of the enumeration 'Visibility Kind', and utility methods for working with them. VisibilityKind is an enumeration type that defines literals to determine the visibility of Elements in a model.
See Also:
  • com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getVisibilityKindEnum()
  • Serialized Form
Model:
annotation="MOF package='classes.mdkernel'"
Generated:
  • Field Details

    • PUBLIC_VALUE

      public static final int PUBLIC_VALUE
      The 'Public' literal value. A Named Element with public visibility is visible to all elements that can access the contents of the Namespace that owns it.
      See Also:
      Model:
      name="public"
      Generated:
    • PRIVATE_VALUE

      public static final int PRIVATE_VALUE
      The 'Private' literal value. A NamedElement with private visibility is only visible inside the Namespace that owns it.
      See Also:
      Model:
      name="private"
      Generated:
    • PROTECTED_VALUE

      public static final int PROTECTED_VALUE
      The 'Protected' literal value. A NamedElement with protected visibility is visible to Elements that have a generalization relationship to the Namespace that owns it.
      See Also:
      Model:
      name="protected"
      Generated:
    • PACKAGE_VALUE

      public static final int PACKAGE_VALUE
      The 'Package' literal value. A NamedElement with package visibility is visible to all Elements within the nearest enclosing Package (given that other owning Elements have proper visibility). Outside the nearest enclosing Package, a NamedElement marked as having package visibility is not visible. Only NamedElements that are not owned by Packages can be marked as having package visibility.
      See Also:
      Model:
      name="package"
      Generated:
    • PUBLIC

      public static final VisibilityKind PUBLIC
      The 'Public' literal object.
      See Also:
      Generated:
    • PRIVATE

      public static final VisibilityKind PRIVATE
      The 'Private' literal object.
      See Also:
      Generated:
    • PROTECTED

      public static final VisibilityKind PROTECTED
      The 'Protected' literal object.
      See Also:
      Generated:
    • PACKAGE

      public static final VisibilityKind PACKAGE
      The 'Package' literal object.
      See Also:
      Generated:
    • VALUES

      public static final List VALUES
      A public read-only list of all the 'Visibility Kind' enumerators.
      Generated:
  • Method Details

    • refTypeName

      public List refTypeName()
      Specified by:
      refTypeName in interface javax.jmi.reflect.RefEnum
    • get

      public static VisibilityKindEnum get(String literal)
      Returns the 'Visibility Kind' literal with the specified literal value.
      Generated:
    • getByName

      public static VisibilityKindEnum getByName(String name)
      Returns the 'Visibility Kind' literal with the specified name.
      Generated:
    • get

      public static VisibilityKindEnum get(int value)
      Returns the 'Visibility Kind' literal with the specified integer value.
      Generated: