Enum MatMethodType
- java.lang.Object
-
- java.lang.Enum<MatMethodType>
-
- org.proforma.variability.transfer.MatMethodType
-
- All Implemented Interfaces:
Serializable
,Comparable<MatMethodType>
public enum MatMethodType extends Enum<MatMethodType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARITHMETIC_OPERATION
MUSTACHE
OTHER
SET_VP_VALUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MatMethodType
fromValue(String v)
VpT
getDataType()
Class<? extends MatMethodProvider<?>>
getProviderClass()
String
value()
static MatMethodType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MatMethodType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SET_VP_VALUE
public static final MatMethodType SET_VP_VALUE
-
ARITHMETIC_OPERATION
public static final MatMethodType ARITHMETIC_OPERATION
-
MUSTACHE
public static final MatMethodType MUSTACHE
-
OTHER
public static final MatMethodType OTHER
-
-
Method Detail
-
values
public static MatMethodType[] 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 (MatMethodType c : MatMethodType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatMethodType 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
-
value
public String value()
-
fromValue
public static MatMethodType fromValue(String v)
-
getDataType
public VpT getDataType()
-
getProviderClass
public Class<? extends MatMethodProvider<?>> getProviderClass()
-
-