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
    TopiaDatabase db  
  • Constructor Summary

    Constructors 
    Constructor Description
    EnumTest()  
  • Method Summary

    Modifier and Type Method Description
    void storeEntityWithEnumValue()
    Create an entity having two field of type enumeration.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • storeEntityWithEnumValue

      public void storeEntityWithEnumValue() throws org.nuiton.topia.TopiaException
      Create 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