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.AbstractEnumeratorA 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 intFOLDERThe 'Folder' literal value.static FileKindFOLDER_LITERALThe 'Folder' literal object.static intIMPLEMENTATIONThe 'Implementation' literal value.static FileKindIMPLEMENTATION_LITERALThe 'Implementation' literal object.static intLOGICALThe 'Logical' literal value.static FileKindLOGICAL_LITERALThe 'Logical' literal object.static intOTHERThe 'Other' literal value.static FileKindOTHER_LITERALThe 'Other' literal object.static intSPECIFICATIONThe 'Specification' literal value.static FileKindSPECIFICATION_LITERALThe 'Specification' literal object.static intUNKNOWNThe 'Unknown' literal value.static FileKindUNKNOWN_LITERALThe 'Unknown' literal object.static java.util.ListVALUESA public read-only list of all the 'File Kind' enumerators.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileKindget(int value)Returns the 'File Kind' literal with the specified integer value.static FileKindget(java.lang.String literal)Returns the 'File Kind' literal with the specified literal value.static FileKindgetByName(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.
-
-