Package ch.raffael.meldioc.model
Enum ModelType.Role
- java.lang.Object
-
- java.lang.Enum<ModelType.Role>
-
- ch.raffael.meldioc.model.ModelType.Role
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ModelType.Role>
public static enum ModelType.Role extends java.lang.Enum<ModelType.Role>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURATIONEXTENSION_POINT_APIFEATURENONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisFeature()static ModelType.RoleofElement(ch.raffael.meldioc.model.CElement<?,?> element)static ModelType.RolevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ModelType.Role[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FEATURE
public static final ModelType.Role FEATURE
-
CONFIGURATION
public static final ModelType.Role CONFIGURATION
-
EXTENSION_POINT_API
public static final ModelType.Role EXTENSION_POINT_API
-
NONE
public static final ModelType.Role NONE
-
-
Method Detail
-
values
public static ModelType.Role[] 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 (ModelType.Role c : ModelType.Role.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModelType.Role valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
isFeature
public boolean isFeature()
-
ofElement
public static ModelType.Role ofElement(ch.raffael.meldioc.model.CElement<?,?> element)
-
-