Class RoleKind
- java.lang.Object
-
- org.eclipse.emf.common.util.AbstractEnumerator
-
- com.sodius.mdw.metamodel.rhapsody.RoleKind
-
- All Implemented Interfaces:
java.io.Serializable
,org.eclipse.emf.common.util.Enumerator
public final class RoleKind extends org.eclipse.emf.common.util.AbstractEnumerator
A representation of the literals of the enumeration 'Role Kind', and utility methods for working with them.- See Also:
RhapsodyPackage.getRoleKind()
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTOR
The 'Actor' literal value.static RoleKind
ACTOR_LITERAL
The 'Actor' literal object.static int
CLASS
The 'Class' literal value.static RoleKind
CLASS_LITERAL
The 'Class' literal object.static int
MULTIPLE_OBJECTS
The 'Multiple Objects' literal value.static RoleKind
MULTIPLE_OBJECTS_LITERAL
The 'Multiple Objects' literal object.static int
ROLE_TYPE_UNSPECIFIED
The 'Role type unspecified' literal value.static RoleKind
ROLE_TYPE_UNSPECIFIED_LITERAL
The 'Role type unspecified' literal object.static int
SPECIFIED
The 'Specified' literal value.static RoleKind
SPECIFIED_LITERAL
The 'Specified' literal object.static int
SYSTEM_BORDER
The 'System Border' literal value.static RoleKind
SYSTEM_BORDER_LITERAL
The 'System Border' literal object.static int
UNKNOWN
The 'Unknown' literal value.static RoleKind
UNKNOWN_LITERAL
The 'Unknown' literal object.static java.util.List
VALUES
A public read-only list of all the 'Role Kind' enumerators.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RoleKind
get(int value)
Returns the 'Role Kind' literal with the specified integer value.static RoleKind
get(java.lang.String literal)
Returns the 'Role Kind' literal with the specified literal value.static RoleKind
getByName(java.lang.String name)
Returns the 'Role Kind' literal with the specified name.
-
-
-
Field Detail
-
ROLE_TYPE_UNSPECIFIED
public static final int ROLE_TYPE_UNSPECIFIED
The 'Role type unspecified' literal value.
-
SYSTEM_BORDER
public static final int SYSTEM_BORDER
The 'System Border' literal value.- See Also:
SYSTEM_BORDER_LITERAL
, Constant Field Values
-
CLASS
public static final int CLASS
The 'Class' literal value.- See Also:
CLASS_LITERAL
, Constant Field Values
-
ACTOR
public static final int ACTOR
The 'Actor' literal value.- See Also:
ACTOR_LITERAL
, Constant Field Values
-
MULTIPLE_OBJECTS
public static final int MULTIPLE_OBJECTS
The 'Multiple Objects' literal value.- See Also:
MULTIPLE_OBJECTS_LITERAL
, Constant Field Values
-
SPECIFIED
public static final int SPECIFIED
The 'Specified' literal value.- See Also:
SPECIFIED_LITERAL
, Constant Field Values
-
UNKNOWN
public static final int UNKNOWN
The 'Unknown' literal value.- See Also:
UNKNOWN_LITERAL
, Constant Field Values
-
ROLE_TYPE_UNSPECIFIED_LITERAL
public static final RoleKind ROLE_TYPE_UNSPECIFIED_LITERAL
The 'Role type unspecified' literal object.- See Also:
ROLE_TYPE_UNSPECIFIED
-
SYSTEM_BORDER_LITERAL
public static final RoleKind SYSTEM_BORDER_LITERAL
The 'System Border' literal object.- See Also:
SYSTEM_BORDER
-
CLASS_LITERAL
public static final RoleKind CLASS_LITERAL
The 'Class' literal object.- See Also:
CLASS
-
ACTOR_LITERAL
public static final RoleKind ACTOR_LITERAL
The 'Actor' literal object.- See Also:
ACTOR
-
MULTIPLE_OBJECTS_LITERAL
public static final RoleKind MULTIPLE_OBJECTS_LITERAL
The 'Multiple Objects' literal object.- See Also:
MULTIPLE_OBJECTS
-
SPECIFIED_LITERAL
public static final RoleKind SPECIFIED_LITERAL
The 'Specified' literal object.- See Also:
SPECIFIED
-
UNKNOWN_LITERAL
public static final RoleKind UNKNOWN_LITERAL
The 'Unknown' literal object.- See Also:
UNKNOWN
-
VALUES
public static final java.util.List VALUES
A public read-only list of all the 'Role Kind' enumerators.
-
-
Method Detail
-
get
public static RoleKind get(java.lang.String literal)
Returns the 'Role Kind' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static RoleKind getByName(java.lang.String name)
Returns the 'Role Kind' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static RoleKind get(int value)
Returns the 'Role Kind' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
-