Enum DID.PostureEnum
- java.lang.Object
-
- java.lang.Enum<DID.PostureEnum>
-
- org.hyperledger.acy_py.generated.model.DID.PostureEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DID.PostureEnum>
- Enclosing class:
- DID
public static enum DID.PostureEnum extends Enum<DID.PostureEnum>
Whether DID is current public DID, posted to ledger but not current public DID, or local to the wallet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDID.PostureEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description POSTEDPUBLICWALLET_ONLY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DID.PostureEnumfromValue(String value)StringgetValue()StringtoString()static DID.PostureEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DID.PostureEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLIC
public static final DID.PostureEnum PUBLIC
-
POSTED
public static final DID.PostureEnum POSTED
-
WALLET_ONLY
public static final DID.PostureEnum WALLET_ONLY
-
-
Method Detail
-
values
public static DID.PostureEnum[] 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 (DID.PostureEnum c : DID.PostureEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DID.PostureEnum 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<DID.PostureEnum>
-
fromValue
public static DID.PostureEnum fromValue(String value)
-
-