Package io.openmanufacturing.sds.test
Enum TestProperty
- java.lang.Object
-
- java.lang.Enum<TestProperty>
-
- io.openmanufacturing.sds.test.TestProperty
-
- All Implemented Interfaces:
TestModel,Serializable,Comparable<TestProperty>
public enum TestProperty extends Enum<TestProperty> implements TestModel
-
-
Enum Constant Summary
-
Field Summary
-
Fields inherited from interface io.openmanufacturing.sds.test.TestModel
TEST_NAMESPACE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()static TestPropertyvalueOf(String name)Returns the enum constant of this type with the specified name.static TestProperty[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROPERTY_WITH_EXAMPLE_VALUE
public static final TestProperty PROPERTY_WITH_EXAMPLE_VALUE
-
PROPERTY_WITH_MULTIPLE_SEE_ATTRIBUTES
public static final TestProperty PROPERTY_WITH_MULTIPLE_SEE_ATTRIBUTES
-
PROPERTY_WITHOUT_EXAMPLE_VALUE
public static final TestProperty PROPERTY_WITHOUT_EXAMPLE_VALUE
-
PROPERTY_WITHOUT_SEE_ATTRIBUTE
public static final TestProperty PROPERTY_WITHOUT_SEE_ATTRIBUTE
-
PROPERTY_WITH_SEE_ATTRIBUTE
public static final TestProperty PROPERTY_WITH_SEE_ATTRIBUTE
-
SHARED_PROPERTY_WITH_SEE_ATTRIBUTE
public static final TestProperty SHARED_PROPERTY_WITH_SEE_ATTRIBUTE
-
-
Method Detail
-
values
public static TestProperty[] 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 (TestProperty c : TestProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestProperty 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
-
-