Enum OutputFieldValue
- java.lang.Object
-
- java.lang.Enum<OutputFieldValue>
-
- org.openprovenance.prov.template.descriptors.OutputFieldValue
-
- All Implemented Interfaces:
Serializable,Comparable<OutputFieldValue>,java.lang.constant.Constable
public enum OutputFieldValue extends Enum<OutputFieldValue>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Method Summary
Modifier and Type Method Description static OutputFieldValueforValue(String value)static booleanisOutput(OutputFieldValue outputFieldValue)StringtoValue()static OutputFieldValuevalueOf(String name)Returns the enum constant of this type with the specified name.static OutputFieldValue[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
True
public static final OutputFieldValue True
-
Optional
public static final OutputFieldValue Optional
-
False
public static final OutputFieldValue False
-
-
Method Detail
-
values
public static OutputFieldValue[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutputFieldValue 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
-
forValue
public static OutputFieldValue forValue(String value)
-
toValue
public String toValue()
-
isOutput
public static boolean isOutput(OutputFieldValue outputFieldValue)
-
-