public enum MockDataFormat extends java.lang.Enum<MockDataFormat> implements ValueEnum
| Enum Constant and Description |
|---|
CSV Mock data in CSV format |
JSON Mock data in JSON format |
MOCK Mock data in "balsamiq" format |
XML Mock data in XML format |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String | getValue() |
static MockDataFormat | valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static MockDataFormat[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |
public static final MockDataFormat MOCK
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "mock".
public static final MockDataFormat CSV
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "csv".
public static final MockDataFormat XML
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "xml".
public static final MockDataFormat JSON
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "json".
public static MockDataFormat[] values()
for (MockDataFormat c : MockDataFormat.values()) System.out.println(c);
public static MockDataFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null