Package org.ehrbase.test_data.folder
Enum FolderTestDataCanonicalJson
- java.lang.Object
-
- java.lang.Enum<FolderTestDataCanonicalJson>
-
- org.ehrbase.test_data.folder.FolderTestDataCanonicalJson
-
- All Implemented Interfaces:
Serializable,Comparable<FolderTestDataCanonicalJson>
public enum FolderTestDataCanonicalJson extends Enum<FolderTestDataCanonicalJson>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLAT_FOLDER_INSERTFOLDER_WITH_DUPLICATE_NAMESFOLDER_WITHOUT_DUPLICATE_NAMESNESTED_FOLDERSIMPLE_EMPTY_FOLDER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetStream()static FolderTestDataCanonicalJsonvalueOf(String name)Returns the enum constant of this type with the specified name.static FolderTestDataCanonicalJson[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIMPLE_EMPTY_FOLDER
public static final FolderTestDataCanonicalJson SIMPLE_EMPTY_FOLDER
-
FLAT_FOLDER_INSERT
public static final FolderTestDataCanonicalJson FLAT_FOLDER_INSERT
-
NESTED_FOLDER
public static final FolderTestDataCanonicalJson NESTED_FOLDER
-
FOLDER_WITH_DUPLICATE_NAMES
public static final FolderTestDataCanonicalJson FOLDER_WITH_DUPLICATE_NAMES
-
FOLDER_WITHOUT_DUPLICATE_NAMES
public static final FolderTestDataCanonicalJson FOLDER_WITHOUT_DUPLICATE_NAMES
-
-
Method Detail
-
values
public static FolderTestDataCanonicalJson[] 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 (FolderTestDataCanonicalJson c : FolderTestDataCanonicalJson.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FolderTestDataCanonicalJson 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()
-
-