Class VisibilityKindEnum
- java.lang.Object
-
- org.eclipse.emf.common.util.AbstractEnumerator
-
- com.nomagic.uml2.ext.magicdraw.classes.mdkernel.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:
-
-
Field Summary
Fields Modifier and Type Field Description static VisibilityKind
PACKAGE
The 'Package' literal object.static int
PACKAGE_VALUE
The 'Package' literal value.static VisibilityKind
PRIVATE
The 'Private' literal object.static int
PRIVATE_VALUE
The 'Private' literal value.static VisibilityKind
PROTECTED
The 'Protected' literal object.static int
PROTECTED_VALUE
The 'Protected' literal value.static VisibilityKind
PUBLIC
The 'Public' literal object.static int
PUBLIC_VALUE
The 'Public' literal value.static java.util.List
VALUES
A public read-only list of all the 'Visibility Kind' enumerators.
-
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
-
-
-
-
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:
-
PUBLIC
public static final VisibilityKind PUBLIC
The 'Public' literal object.- See Also:
PUBLIC_VALUE
- Generated:
-
PRIVATE
public static final VisibilityKind PRIVATE
The 'Private' literal object.- See Also:
PRIVATE_VALUE
- Generated:
-
PROTECTED
public static final VisibilityKind PROTECTED
The 'Protected' literal object.- See Also:
PROTECTED_VALUE
- Generated:
-
PACKAGE
public static final VisibilityKind PACKAGE
The 'Package' literal object.- See Also:
PACKAGE_VALUE
- 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 interfacejavax.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:
-
-