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 Summary
Modifier and TypeFieldDescriptionstatic final VisibilityKind
The 'Package' literal object.static final int
The 'Package' literal value.static final VisibilityKind
The 'Private' literal object.static final int
The 'Private' literal value.static final VisibilityKind
The 'Protected' literal object.static final int
The 'Protected' literal value.static final VisibilityKind
The 'Public' literal object.static final int
The 'Public' literal value.static final List
A public read-only list of all the 'Visibility Kind' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic VisibilityKindEnum
get
(int value) Returns the 'Visibility Kind' literal with the specified integer value.static VisibilityKindEnum
Returns the 'Visibility Kind' literal with the specified literal value.static VisibilityKindEnum
Returns the 'Visibility Kind' literal with the specified name.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 Details
-
PUBLIC_VALUE
public static final int PUBLIC_VALUEThe '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_VALUEThe '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_VALUEThe '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_VALUEThe '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
The 'Public' literal object.- See Also:
- Generated:
-
PRIVATE
The 'Private' literal object.- See Also:
- Generated:
-
PROTECTED
The 'Protected' literal object.- See Also:
- Generated:
-
PACKAGE
The 'Package' literal object.- See Also:
- Generated:
-
VALUES
A public read-only list of all the 'Visibility Kind' enumerators.- Generated:
-
-
Method Details
-
refTypeName
- Specified by:
refTypeName
in interfacejavax.jmi.reflect.RefEnum
-
get
Returns the 'Visibility Kind' literal with the specified literal value.- Generated:
-
getByName
Returns the 'Visibility Kind' literal with the specified name.- Generated:
-
get
Returns the 'Visibility Kind' literal with the specified integer value.- Generated:
-