Enum DIFHolder.DirectiveEnum
- java.lang.Object
-
- java.lang.Enum<DIFHolder.DirectiveEnum>
-
- org.hyperledger.acy_py.generated.model.DIFHolder.DirectiveEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DIFHolder.DirectiveEnum>
- Enclosing class:
- DIFHolder
public static enum DIFHolder.DirectiveEnum extends Enum<DIFHolder.DirectiveEnum>
Preference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDIFHolder.DirectiveEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DIFHolder.DirectiveEnumfromValue(String value)StringgetValue()StringtoString()static DIFHolder.DirectiveEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DIFHolder.DirectiveEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUIRED
public static final DIFHolder.DirectiveEnum REQUIRED
-
PREFERRED
public static final DIFHolder.DirectiveEnum PREFERRED
-
-
Method Detail
-
values
public static DIFHolder.DirectiveEnum[] 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 (DIFHolder.DirectiveEnum c : DIFHolder.DirectiveEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DIFHolder.DirectiveEnum 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<DIFHolder.DirectiveEnum>
-
fromValue
public static DIFHolder.DirectiveEnum fromValue(String value)
-
-