Table of Contents

Enum VisibilityKind

Namespace
NMF.Interop.Uml
Assembly
NMF.UMLInterop.dll

VisibilityKind is an enumeration type that defines literals to determine the visibility of Elements in a model. <p>From package UML::CommonStructure.</p>

[TypeConverter(typeof(VisibilityKindConverter))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind")]
public enum VisibilityKind

Fields

Package = 3

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.

Private = 1

A NamedElement with private visibility is only visible inside the Namespace that owns it.

Protected = 2

A NamedElement with protected visibility is visible to Elements that have a generalization relationship to the Namespace that owns it.

Public = 0

A Named Element with public visibility is visible to all elements that can access the contents of the Namespace that owns it.