Class VisibilityKindEnum

  • All Implemented Interfaces:
    VisibilityKind, java.io.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:
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static VisibilityKindEnum get​(int value)
      Returns the 'Visibility Kind' literal with the specified integer value.
      static VisibilityKindEnum get​(java.lang.String literal)
      Returns the 'Visibility Kind' literal with the specified literal value.
      static VisibilityKindEnum getByName​(java.lang.String name)
      Returns the 'Visibility Kind' literal with the specified name.
      java.util.List refTypeName()  
      • Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator

        getLiteral, getName, getValue, toString, writeReplace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface javax.jmi.reflect.RefEnum

        equals, hashCode, toString
    • Field Detail

      • 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:
        PUBLIC, Constant Field Values
        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:
        PRIVATE, Constant Field Values
        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:
        PROTECTED, Constant Field Values
        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:
        PACKAGE, Constant Field Values
        Model:
        name="package"
        Generated:
      • VALUES

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

      • refTypeName

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

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

        public static VisibilityKindEnum getByName​(java.lang.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: