Enum V20PresExRecord.StateEnum
- java.lang.Object
-
- java.lang.Enum<V20PresExRecord.StateEnum>
-
- org.hyperledger.acy_py.generated.model.V20PresExRecord.StateEnum
-
- All Implemented Interfaces:
Serializable,Comparable<V20PresExRecord.StateEnum>
- Enclosing class:
- V20PresExRecord
public static enum V20PresExRecord.StateEnum extends Enum<V20PresExRecord.StateEnum>
Present-proof exchange state
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classV20PresExRecord.StateEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description ABANDONEDDONEPRESENTATION_RECEIVEDPRESENTATION_SENTPROPOSAL_RECEIVEDPROPOSAL_SENTREQUEST_RECEIVEDREQUEST_SENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static V20PresExRecord.StateEnumfromValue(String value)StringgetValue()StringtoString()static V20PresExRecord.StateEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static V20PresExRecord.StateEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROPOSAL_SENT
public static final V20PresExRecord.StateEnum PROPOSAL_SENT
-
PROPOSAL_RECEIVED
public static final V20PresExRecord.StateEnum PROPOSAL_RECEIVED
-
REQUEST_SENT
public static final V20PresExRecord.StateEnum REQUEST_SENT
-
REQUEST_RECEIVED
public static final V20PresExRecord.StateEnum REQUEST_RECEIVED
-
PRESENTATION_SENT
public static final V20PresExRecord.StateEnum PRESENTATION_SENT
-
PRESENTATION_RECEIVED
public static final V20PresExRecord.StateEnum PRESENTATION_RECEIVED
-
DONE
public static final V20PresExRecord.StateEnum DONE
-
ABANDONED
public static final V20PresExRecord.StateEnum ABANDONED
-
-
Method Detail
-
values
public static V20PresExRecord.StateEnum[] 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 (V20PresExRecord.StateEnum c : V20PresExRecord.StateEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static V20PresExRecord.StateEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<V20PresExRecord.StateEnum>
-
fromValue
public static V20PresExRecord.StateEnum fromValue(String value)
-
-