Enum EStructuralFeatureValueConverter.Direction
- java.lang.Object
-
- java.lang.Enum<EStructuralFeatureValueConverter.Direction>
-
- org.eclipse.emfforms.spi.common.converter.EStructuralFeatureValueConverter.Direction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EStructuralFeatureValueConverter.Direction>
- Enclosing interface:
- EStructuralFeatureValueConverter
public static enum EStructuralFeatureValueConverter.Direction extends java.lang.Enum<EStructuralFeatureValueConverter.Direction>
Conversion direction.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LITERAL_TO_MODEL
Conversion from string literal to model value.MODEL_TO_LITERAL
Conversion from model value to string literal.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EStructuralFeatureValueConverter.Direction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EStructuralFeatureValueConverter.Direction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MODEL_TO_LITERAL
public static final EStructuralFeatureValueConverter.Direction MODEL_TO_LITERAL
Conversion from model value to string literal.
-
LITERAL_TO_MODEL
public static final EStructuralFeatureValueConverter.Direction LITERAL_TO_MODEL
Conversion from string literal to model value.
-
-
Method Detail
-
values
public static EStructuralFeatureValueConverter.Direction[] 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 (EStructuralFeatureValueConverter.Direction c : EStructuralFeatureValueConverter.Direction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EStructuralFeatureValueConverter.Direction 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
-
-