Enum SectionEnum
- java.lang.Object
-
- java.lang.Enum<SectionEnum>
-
- org.eclipse.epsilon.emc.simulink.dictionary.model.element.SectionEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<SectionEnum>
public enum SectionEnum extends Enum<SectionEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURATIONS
DESIGN_DATA
OTHER_DATA
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SectionEnum
forEpsilonEntryType(String type)
static SectionEnum
fromMatlab(String property)
String
getEpsilonEntryName()
SimulinkSection
getFromModel(SimulinkDictionaryModel model)
String
getMatlabKey()
static SectionEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static SectionEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DESIGN_DATA
public static final SectionEnum DESIGN_DATA
-
OTHER_DATA
public static final SectionEnum OTHER_DATA
-
CONFIGURATIONS
public static final SectionEnum CONFIGURATIONS
-
-
Method Detail
-
values
public static SectionEnum[] 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 (SectionEnum c : SectionEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SectionEnum 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
-
getFromModel
public SimulinkSection getFromModel(SimulinkDictionaryModel model)
-
getMatlabKey
public String getMatlabKey()
-
getEpsilonEntryName
public String getEpsilonEntryName()
-
forEpsilonEntryType
public static SectionEnum forEpsilonEntryType(String type)
-
fromMatlab
public static SectionEnum fromMatlab(String property)
-
-