Package io.openmanufacturing.sds.test
Enum TestEntity
- java.lang.Object
-
- java.lang.Enum<TestEntity>
-
- io.openmanufacturing.sds.test.TestEntity
-
- All Implemented Interfaces:
TestModel,Serializable,Comparable<TestEntity>
public enum TestEntity extends Enum<TestEntity> 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 TestEntityvalueOf(String name)Returns the enum constant of this type with the specified name.static TestEntity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENTITY_WITH_MULTIPLE_SEE_ATTRIBUTES
public static final TestEntity ENTITY_WITH_MULTIPLE_SEE_ATTRIBUTES
-
ENTITY_WITH_OPTIONAL_AND_NOT_IN_PAYLOAD_PROPERTY
public static final TestEntity ENTITY_WITH_OPTIONAL_AND_NOT_IN_PAYLOAD_PROPERTY
-
ENTITY_WITHOUT_SEE_ATTRIBUTE
public static final TestEntity ENTITY_WITHOUT_SEE_ATTRIBUTE
-
ENTITY_WITH_SEE_ATTRIBUTE
public static final TestEntity ENTITY_WITH_SEE_ATTRIBUTE
-
SHARED_ENTITY_WITH_SEE_ATTRIBUTE
public static final TestEntity SHARED_ENTITY_WITH_SEE_ATTRIBUTE
-
ENTITY_WITH_OPTIONAL_PROPERTY
public static final TestEntity ENTITY_WITH_OPTIONAL_PROPERTY
-
ENTITY_WITH_OPTIONAL_PROPERTY_WITH_PAYLOAD_NAME
public static final TestEntity ENTITY_WITH_OPTIONAL_PROPERTY_WITH_PAYLOAD_NAME
-
ENTITY_WITH_PROPERTY_WITH_PAYLOAD_NAME
public static final TestEntity ENTITY_WITH_PROPERTY_WITH_PAYLOAD_NAME
-
-
Method Detail
-
values
public static TestEntity[] 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 (TestEntity c : TestEntity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestEntity 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
-
-