Class TableTemplateReference

java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.TableTemplateReference
All Implemented Interfaces:
ValueOfContractor, Serializable

@NonExtendable public class TableTemplateReference extends Object implements ValueOfContractor, Serializable
Definition of a table template reference.
Since:
3.0
See Also:
  • Constructor Details

    • TableTemplateReference

      public TableTemplateReference(String schema, String table)
      Create a new instance with the given schema and table name.
      Since:
      4.0
  • Method Details

    • getName

      public String getName()
      Returns the name of this reference
      Since:
      3.0
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • valueOf

      @Nullable public static @Nullable TableTemplateReference valueOf(@Nullable @Nullable String string)
      Implementation of ValueOfContractor.
      Parameters:
      string - The string to construct from.
      Returns:
      An instance or null.
      Since:
      3.0
    • setStrict

      public static void setStrict(boolean strict)
      Set the designator to be strict, i.e., an InvalidDesignatorException will be thrown in case of designators not matching the pattern.

      Note: Strict settings only are local to the current thread!

      Parameters:
      strict - The strict mode to set.
      Since:
      4.0
    • isStrict

      public static boolean isStrict()
      Indicates the designator to work in strict mode. If not set, will default to false.
      Returns:
      true, if working in strict mode.
      Since:
      4.0