Class FileKind
- java.lang.Object
-
- org.eclipse.emf.common.util.AbstractEnumerator
-
- com.sodius.mdw.metamodel.rhapsody.FileKind
-
- All Implemented Interfaces:
java.io.Serializable
,org.eclipse.emf.common.util.Enumerator
public final class FileKind extends org.eclipse.emf.common.util.AbstractEnumerator
A representation of the literals of the enumeration 'File Kind', and utility methods for working with them.- See Also:
RhapsodyPackage.getFileKind()
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
FOLDER
The 'Folder' literal value.static FileKind
FOLDER_LITERAL
The 'Folder' literal object.static int
IMPLEMENTATION
The 'Implementation' literal value.static FileKind
IMPLEMENTATION_LITERAL
The 'Implementation' literal object.static int
LOGICAL
The 'Logical' literal value.static FileKind
LOGICAL_LITERAL
The 'Logical' literal object.static int
OTHER
The 'Other' literal value.static FileKind
OTHER_LITERAL
The 'Other' literal object.static int
SPECIFICATION
The 'Specification' literal value.static FileKind
SPECIFICATION_LITERAL
The 'Specification' literal object.static int
UNKNOWN
The 'Unknown' literal value.static FileKind
UNKNOWN_LITERAL
The 'Unknown' literal object.static java.util.List
VALUES
A public read-only list of all the 'File Kind' enumerators.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileKind
get(int value)
Returns the 'File Kind' literal with the specified integer value.static FileKind
get(java.lang.String literal)
Returns the 'File Kind' literal with the specified literal value.static FileKind
getByName(java.lang.String name)
Returns the 'File Kind' literal with the specified name.
-
-
-
Field Detail
-
FOLDER
public static final int FOLDER
The 'Folder' literal value.- See Also:
FOLDER_LITERAL
, Constant Field Values
-
IMPLEMENTATION
public static final int IMPLEMENTATION
The 'Implementation' literal value.- See Also:
IMPLEMENTATION_LITERAL
, Constant Field Values
-
SPECIFICATION
public static final int SPECIFICATION
The 'Specification' literal value.- See Also:
SPECIFICATION_LITERAL
, Constant Field Values
-
LOGICAL
public static final int LOGICAL
The 'Logical' literal value.- See Also:
LOGICAL_LITERAL
, Constant Field Values
-
OTHER
public static final int OTHER
The 'Other' literal value.- See Also:
OTHER_LITERAL
, Constant Field Values
-
UNKNOWN
public static final int UNKNOWN
The 'Unknown' literal value.- See Also:
UNKNOWN_LITERAL
, Constant Field Values
-
FOLDER_LITERAL
public static final FileKind FOLDER_LITERAL
The 'Folder' literal object.- See Also:
FOLDER
-
IMPLEMENTATION_LITERAL
public static final FileKind IMPLEMENTATION_LITERAL
The 'Implementation' literal object.- See Also:
IMPLEMENTATION
-
SPECIFICATION_LITERAL
public static final FileKind SPECIFICATION_LITERAL
The 'Specification' literal object.- See Also:
SPECIFICATION
-
LOGICAL_LITERAL
public static final FileKind LOGICAL_LITERAL
The 'Logical' literal object.- See Also:
LOGICAL
-
OTHER_LITERAL
public static final FileKind OTHER_LITERAL
The 'Other' literal object.- See Also:
OTHER
-
UNKNOWN_LITERAL
public static final FileKind 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 'File Kind' enumerators.
-
-
Method Detail
-
get
public static FileKind get(java.lang.String literal)
Returns the 'File Kind' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static FileKind getByName(java.lang.String name)
Returns the 'File Kind' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static FileKind get(int value)
Returns the 'File Kind' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
-