Enum ProvenanceEntry.ProvenanceMethod
- java.lang.Object
-
- java.lang.Enum<ProvenanceEntry.ProvenanceMethod>
-
- io.keyko.nevermined.models.contracts.ProvenanceEntry.ProvenanceMethod
-
- All Implemented Interfaces:
Serializable,Comparable<ProvenanceEntry.ProvenanceMethod>
- Enclosing class:
- ProvenanceEntry
public static enum ProvenanceEntry.ProvenanceMethod extends Enum<ProvenanceEntry.ProvenanceMethod>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTED_ON_BEHALFACTIVITYAGENTENTITYUSEDWAS_ASSOCIATED_WITHWAS_ATTRIBUTED_TOWAS_DERIVED_FROMWAS_ENDED_BYWAS_GENERATED_BYWAS_INFORMED_BYWAS_INVALIDATED_BYWAS_STARTED_BY
-
Field Summary
Fields Modifier and Type Field Description private BigIntegermethod
-
Constructor Summary
Constructors Modifier Constructor Description privateProvenanceMethod(BigInteger newMethod)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static ProvenanceEntry.ProvenanceMethodfromValue(BigInteger value)BigIntegergetMethod()static ProvenanceEntry.ProvenanceMethodvalueOf(String name)Returns the enum constant of this type with the specified name.static ProvenanceEntry.ProvenanceMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENTITY
public static final ProvenanceEntry.ProvenanceMethod ENTITY
-
ACTIVITY
public static final ProvenanceEntry.ProvenanceMethod ACTIVITY
-
WAS_GENERATED_BY
public static final ProvenanceEntry.ProvenanceMethod WAS_GENERATED_BY
-
USED
public static final ProvenanceEntry.ProvenanceMethod USED
-
WAS_INFORMED_BY
public static final ProvenanceEntry.ProvenanceMethod WAS_INFORMED_BY
-
WAS_STARTED_BY
public static final ProvenanceEntry.ProvenanceMethod WAS_STARTED_BY
-
WAS_ENDED_BY
public static final ProvenanceEntry.ProvenanceMethod WAS_ENDED_BY
-
WAS_INVALIDATED_BY
public static final ProvenanceEntry.ProvenanceMethod WAS_INVALIDATED_BY
-
WAS_DERIVED_FROM
public static final ProvenanceEntry.ProvenanceMethod WAS_DERIVED_FROM
-
AGENT
public static final ProvenanceEntry.ProvenanceMethod AGENT
-
WAS_ATTRIBUTED_TO
public static final ProvenanceEntry.ProvenanceMethod WAS_ATTRIBUTED_TO
-
WAS_ASSOCIATED_WITH
public static final ProvenanceEntry.ProvenanceMethod WAS_ASSOCIATED_WITH
-
ACTED_ON_BEHALF
public static final ProvenanceEntry.ProvenanceMethod ACTED_ON_BEHALF
-
-
Field Detail
-
method
private final BigInteger method
-
-
Constructor Detail
-
ProvenanceMethod
private ProvenanceMethod(BigInteger newMethod)
-
-
Method Detail
-
values
public static ProvenanceEntry.ProvenanceMethod[] 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 (ProvenanceEntry.ProvenanceMethod c : ProvenanceEntry.ProvenanceMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProvenanceEntry.ProvenanceMethod 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
-
fromValue
static ProvenanceEntry.ProvenanceMethod fromValue(BigInteger value)
-
getMethod
public BigInteger getMethod()
-
-