Package Thor.API.Base

Enum Class tcBaseUtility.Entities

java.lang.Object
java.lang.Enum<tcBaseUtility.Entities>
Thor.API.Base.tcBaseUtility.Entities
All Implemented Interfaces:
Serializable, Comparable<tcBaseUtility.Entities>, Constable
Enclosing class:
tcBaseUtility

public static enum tcBaseUtility.Entities extends Enum<tcBaseUtility.Entities>
The following enum serves two purposes: 1. It organizes the entity names used, especially by the backwards compatibility project 2. More importantly, it implements the "Poor Man's Inheritance" Pattern: allowing entity-specific behavior without touching all the derived classes, as would otherwise be necessary by using abstract methods.
  • Enum Constant Details

  • Method Details

    • values

      public static tcBaseUtility.Entities[] 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 tcBaseUtility.Entities 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<tcBaseUtility.Entities>
    • getManager

      public abstract Object getManager()
    • getColumnCode_to_EntityAttr

      public abstract Map<String,String> getColumnCode_to_EntityAttr()
    • validateAttributes

      public abstract boolean validateAttributes(String key, Map<String,String> columnCode_to_11gEntity, Map<String,String> entityAttribute_to_columnCode, Map<String,String> DBColName)