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 VisibilityKindPACKAGEThe 'Package' literal object.static intPACKAGE_VALUEThe 'Package' literal value.static VisibilityKindPRIVATEThe 'Private' literal object.static intPRIVATE_VALUEThe 'Private' literal value.static VisibilityKindPROTECTEDThe 'Protected' literal object.static intPROTECTED_VALUEThe 'Protected' literal value.static VisibilityKindPUBLICThe 'Public' literal object.static intPUBLIC_VALUEThe 'Public' literal value.private static java.util.List<java.lang.String>typeNamestatic java.util.ListVALUESA public read-only list of all the 'Visibility Kind' enumerators.private static VisibilityKindEnum[]VALUES_ARRAYAn array of all the 'Visibility Kind' enumerators. 
- 
Constructor Summary
Constructors Modifier Constructor Description privateVisibilityKindEnum(int value, java.lang.String name, java.lang.String literal)Only this class can construct instances. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VisibilityKindEnumget(int value)Returns the 'Visibility Kind' literal with the specified integer value.static VisibilityKindEnumget(java.lang.String literal)Returns the 'Visibility Kind' literal with the specified literal value.static VisibilityKindEnumgetByName(java.lang.String name)Returns the 'Visibility Kind' literal with the specified name.private static java.util.List<java.lang.String>initTypeName()java.util.ListrefTypeName()- 
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:
 
 
- 
typeName
private static final java.util.List<java.lang.String> typeName
- Generated:
 
 
- 
VALUES_ARRAY
private static final VisibilityKindEnum[] VALUES_ARRAY
An array of all the 'Visibility Kind' enumerators.- Generated:
 
 
- 
VALUES
public static final java.util.List VALUES
A public read-only list of all the 'Visibility Kind' enumerators.- Generated:
 
 
 - 
 
- 
Method Detail
- 
initTypeName
private static java.util.List<java.lang.String> initTypeName()
- Generated:
 
 
- 
refTypeName
public java.util.List refTypeName()
- Specified by:
 refTypeNamein 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:
 
 
 - 
 
 -