Package org.nuiton.topiatest
Class EnumTest
java.lang.Object
org.nuiton.topiatest.EnumTest
public class EnumTest
extends java.lang.Object
Test the support of possibility to have an attribute of type enumeration
in a entity
-
Field Summary
Fields Modifier and Type Field Description TopiaDatabasedb -
Constructor Summary
Constructors Constructor Description EnumTest() -
Method Summary
Modifier and Type Method Description voidstoreEntityWithEnumValue()Create an entity having two field of type enumeration.
-
Field Details
-
Constructor Details
-
EnumTest
public EnumTest()
-
-
Method Details
-
storeEntityWithEnumValue
public void storeEntityWithEnumValue() throws org.nuiton.topia.TopiaExceptionCreate an entity having two field of type enumeration. One is stored using ordinal, the other using the name. The test check that values are stored, and that find methods works- Throws:
org.nuiton.topia.TopiaException- if any exception with db
-