Enum IMetaOperation.CompatibilityResult
- java.lang.Object
-
- java.lang.Enum<IMetaOperation.CompatibilityResult>
-
- net.ssehub.easy.instantiation.core.model.vilTypes.IMetaOperation.CompatibilityResult
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IMetaOperation.CompatibilityResult>
- Enclosing interface:
- IMetaOperation
public static enum IMetaOperation.CompatibilityResult extends java.lang.Enum<IMetaOperation.CompatibilityResult>
Returns the result of a type compatibility comparison.- Author:
- Holger Eichelberger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARG_EVALUATION_FAILEDArgument evaluates to null, i.e., stop expression evaluation.COMPATIBLETypes are compatible.INCOMPATIBLETypes are incompatible.
-
Constructor Summary
Constructors Modifier Constructor Description privateCompatibilityResult()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IMetaOperation.CompatibilityResultvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IMetaOperation.CompatibilityResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPATIBLE
public static final IMetaOperation.CompatibilityResult COMPATIBLE
Types are compatible.
-
INCOMPATIBLE
public static final IMetaOperation.CompatibilityResult INCOMPATIBLE
Types are incompatible.
-
ARG_EVALUATION_FAILED
public static final IMetaOperation.CompatibilityResult ARG_EVALUATION_FAILED
Argument evaluates to null, i.e., stop expression evaluation.
-
-
Method Detail
-
values
public static IMetaOperation.CompatibilityResult[] 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 (IMetaOperation.CompatibilityResult c : IMetaOperation.CompatibilityResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IMetaOperation.CompatibilityResult 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
-
-