Package com.sodius.mdw.metamodel.sa
Enum MetaClassKind
- java.lang.Object
-
- java.lang.Enum<MetaClassKind>
-
- com.sodius.mdw.metamodel.sa.MetaClassKind
-
- All Implemented Interfaces:
Serializable
,Comparable<MetaClassKind>
,org.eclipse.emf.common.util.Enumerator
public enum MetaClassKind extends Enum<MetaClassKind> implements org.eclipse.emf.common.util.Enumerator
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFINITION
DIAGRAM
SYMBOL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLiteral()
String
getName()
int
getValue()
static MetaClassKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static MetaClassKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIAGRAM
public static final MetaClassKind DIAGRAM
-
SYMBOL
public static final MetaClassKind SYMBOL
-
DEFINITION
public static final MetaClassKind DEFINITION
-
-
Method Detail
-
values
public static MetaClassKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MetaClassKind c : MetaClassKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetaClassKind valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
-
-