Package org.ehrbase.test_data.ehr
Enum EhrTestDataCanonicalJson
- java.lang.Object
-
- java.lang.Enum<EhrTestDataCanonicalJson>
-
- org.ehrbase.test_data.ehr.EhrTestDataCanonicalJson
-
- All Implemented Interfaces:
Serializable,Comparable<EhrTestDataCanonicalJson>
public enum EhrTestDataCanonicalJson extends Enum<EhrTestDataCanonicalJson>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EHR_STATUS_SUBJECT_EXTERNAL_REFEHR_STATUS_SUBJECT_EXTERNAL_REF_OTHER_DETAILS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetStream()StringtoString()static EhrTestDataCanonicalJsonvalueOf(String name)Returns the enum constant of this type with the specified name.static EhrTestDataCanonicalJson[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EHR_STATUS_SUBJECT_EXTERNAL_REF
public static final EhrTestDataCanonicalJson EHR_STATUS_SUBJECT_EXTERNAL_REF
-
EHR_STATUS_SUBJECT_EXTERNAL_REF_OTHER_DETAILS
public static final EhrTestDataCanonicalJson EHR_STATUS_SUBJECT_EXTERNAL_REF_OTHER_DETAILS
-
-
Method Detail
-
values
public static EhrTestDataCanonicalJson[] 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 (EhrTestDataCanonicalJson c : EhrTestDataCanonicalJson.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EhrTestDataCanonicalJson 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
-
getStream
public InputStream getStream()
-
toString
public String toString()
- Overrides:
toStringin classEnum<EhrTestDataCanonicalJson>
-
-