Enum Class TopiaItLegacyEntityEnum

java.lang.Object
java.lang.Enum<TopiaItLegacyEntityEnum>
org.nuiton.topia.it.legacy.TopiaItLegacyEntityEnum
All Implemented Interfaces:
Serializable, Comparable<TopiaItLegacyEntityEnum>, Constable, org.nuiton.topia.persistence.TopiaEntityEnum

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

  • Method Details

    • values

      public static TopiaItLegacyEntityEnum[] 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 TopiaItLegacyEntityEnum 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 TopiaItLegacyEntityEnum 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 TopiaItLegacyEntityEnum 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
    • getContracts

      public static TopiaItLegacyEntityEnum[] getContracts()
    • getContractClass

      public static <T extends org.nuiton.topia.persistence.TopiaEntity> Class<T> getContractClass(Class<T> klass)
    • getContractClasses

      public static Class<? extends org.nuiton.topia.persistence.TopiaEntity>[] getContractClasses()
    • getImplementationClass

      public static <T extends org.nuiton.topia.persistence.TopiaEntity> Class<T> getImplementationClass(Class<T> klass)
    • getImplementationClasses

      public static Set<Class<? extends org.nuiton.topia.persistence.TopiaEntity>> getImplementationClasses()
    • getImplementationClassesAsString

      public static String getImplementationClassesAsString()
    • getOperator

      public static <T extends org.nuiton.topia.persistence.TopiaEntity> org.nuiton.topia.persistence.util.EntityOperator<T> getOperator(Class<T> klass)