Enum TemplateSEA.TemplateState
- java.lang.Object
-
- java.lang.Enum<TemplateSEA.TemplateState>
-
- io.keyko.nevermined.models.service.template.TemplateSEA.TemplateState
-
- All Implemented Interfaces:
Serializable
,Comparable<TemplateSEA.TemplateState>
- Enclosing class:
- TemplateSEA
public static enum TemplateSEA.TemplateState extends Enum<TemplateSEA.TemplateState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Approved
Proposed
Revoked
Uninitialized
-
Field Summary
Fields Modifier and Type Field Description private BigInteger
status
-
Constructor Summary
Constructors Modifier Constructor Description private
TemplateState(BigInteger newStatus)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BigInteger
getStatus()
static TemplateSEA.TemplateState
valueOf(String name)
Returns the enum constant of this type with the specified name.static TemplateSEA.TemplateState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Uninitialized
public static final TemplateSEA.TemplateState Uninitialized
-
Proposed
public static final TemplateSEA.TemplateState Proposed
-
Approved
public static final TemplateSEA.TemplateState Approved
-
Revoked
public static final TemplateSEA.TemplateState Revoked
-
-
Field Detail
-
status
private final BigInteger status
-
-
Constructor Detail
-
TemplateState
private TemplateState(BigInteger newStatus)
-
-
Method Detail
-
values
public static TemplateSEA.TemplateState[] 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 (TemplateSEA.TemplateState c : TemplateSEA.TemplateState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplateSEA.TemplateState 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
-
getStatus
public BigInteger getStatus()
-
-