Enum Class IsisFishDAOHelper.IsisFishEntityEnum

java.lang.Object
java.lang.Enum<IsisFishDAOHelper.IsisFishEntityEnum>
fr.ifremer.isisfish.IsisFishDAOHelper.IsisFishEntityEnum
All Implemented Interfaces:
Serializable, Comparable<IsisFishDAOHelper.IsisFishEntityEnum>, Constable, org.nuiton.topia.persistence.TopiaEntityEnum
Enclosing class:
IsisFishDAOHelper

public static enum IsisFishDAOHelper.IsisFishEntityEnum extends Enum<IsisFishDAOHelper.IsisFishEntityEnum> implements org.nuiton.topia.persistence.TopiaEntityEnum
  • Enum Constant Details

  • Field Details

    • contract

      protected Class<? extends org.nuiton.topia.persistence.TopiaEntity> contract
      The contract of the entity.
    • dbSchemaName

      protected String dbSchemaName
      The optional name of database schema of the entity (if none was filled, will be null).
    • dbTableName

      protected String dbTableName
      The name of the database table for the entity.
    • implementationFQN

      protected String implementationFQN
      The fully qualified name of the implementation of the entity.
    • implementation

      protected Class<? extends org.nuiton.topia.persistence.TopiaEntity> implementation
      The implementation class of the entity (will be lazy computed at runtime).
    • naturalIds

      protected String[] naturalIds
      The array of property involved in the natural key of the entity.
    • notNulls

      protected String[] notNulls
      The array of not null properties of the entity.
  • Method Details

    • values

      public static IsisFishDAOHelper.IsisFishEntityEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IsisFishDAOHelper.IsisFishEntityEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getContract

      public Class<? extends org.nuiton.topia.persistence.TopiaEntity> getContract()
      Specified by:
      getContract in interface org.nuiton.topia.persistence.TopiaEntityEnum
    • dbSchemaName

      public String dbSchemaName()
      Specified by:
      dbSchemaName in interface org.nuiton.topia.persistence.TopiaEntityEnum
    • dbTableName

      public String dbTableName()
      Specified by:
      dbTableName in interface org.nuiton.topia.persistence.TopiaEntityEnum
    • getNaturalIds

      public String[] getNaturalIds()
      Specified by:
      getNaturalIds in interface org.nuiton.topia.persistence.TopiaEntityEnum
    • isUseNaturalIds

      public boolean isUseNaturalIds()
      Specified by:
      isUseNaturalIds in interface org.nuiton.topia.persistence.TopiaEntityEnum
    • getNotNulls

      public String[] getNotNulls()
      Specified by:
      getNotNulls in interface org.nuiton.topia.persistence.TopiaEntityEnum
    • isUseNotNulls

      public boolean isUseNotNulls()
      Specified by:
      isUseNotNulls in interface org.nuiton.topia.persistence.TopiaEntityEnum
    • getImplementationFQN

      public String getImplementationFQN()
      Specified by:
      getImplementationFQN in interface org.nuiton.topia.persistence.TopiaEntityEnum
    • setImplementationFQN

      public void setImplementationFQN(String implementationFQN)
      Specified by:
      setImplementationFQN in interface org.nuiton.topia.persistence.TopiaEntityEnum
    • accept

      public boolean accept(Class<? extends org.nuiton.topia.persistence.TopiaEntity> klass)
      Specified by:
      accept in interface org.nuiton.topia.persistence.TopiaEntityEnum
    • getImplementation

      public Class<? extends org.nuiton.topia.persistence.TopiaEntity> getImplementation()
      Specified by:
      getImplementation in interface org.nuiton.topia.persistence.TopiaEntityEnum
    • valueOf

      public static IsisFishDAOHelper.IsisFishEntityEnum valueOf(org.nuiton.topia.persistence.TopiaEntity entity)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      entity - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOf

      public static IsisFishDAOHelper.IsisFishEntityEnum valueOf(Class<?> klass)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      klass - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null