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.AbstractEnumeratorA 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 intACTORThe 'Actor' literal value.static RoleKindACTOR_LITERALThe 'Actor' literal object.static intCLASSThe 'Class' literal value.static RoleKindCLASS_LITERALThe 'Class' literal object.static intMULTIPLE_OBJECTSThe 'Multiple Objects' literal value.static RoleKindMULTIPLE_OBJECTS_LITERALThe 'Multiple Objects' literal object.static intROLE_TYPE_UNSPECIFIEDThe 'Role type unspecified' literal value.static RoleKindROLE_TYPE_UNSPECIFIED_LITERALThe 'Role type unspecified' literal object.static intSPECIFIEDThe 'Specified' literal value.static RoleKindSPECIFIED_LITERALThe 'Specified' literal object.static intSYSTEM_BORDERThe 'System Border' literal value.static RoleKindSYSTEM_BORDER_LITERALThe 'System Border' literal object.static intUNKNOWNThe 'Unknown' literal value.static RoleKindUNKNOWN_LITERALThe 'Unknown' literal object.static java.util.ListVALUESA public read-only list of all the 'Role Kind' enumerators.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RoleKindget(int value)Returns the 'Role Kind' literal with the specified integer value.static RoleKindget(java.lang.String literal)Returns the 'Role Kind' literal with the specified literal value.static RoleKindgetByName(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.
-
-