Enum DDC.TenantMode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DDC.TenantMode>
    Enclosing interface:
    DDC

    public static enum DDC.TenantMode
    extends java.lang.Enum<DDC.TenantMode>
    DDC tenant modes.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      COMBINED
      All tenants use the same table, but are separated by SYSCLIENT field.
      SHARED
      All tenants share the values of the table.
      SPECIFIC
      Each tenant uses a separate database table.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DDC.TenantMode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static DDC.TenantMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • SPECIFIC

        public static final DDC.TenantMode SPECIFIC
        Each tenant uses a separate database table.
      • SHARED

        public static final DDC.TenantMode SHARED
        All tenants share the values of the table.
      • COMBINED

        public static final DDC.TenantMode COMBINED
        All tenants use the same table, but are separated by SYSCLIENT field.
    • Method Detail

      • values

        public static DDC.TenantMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DDC.TenantMode c : DDC.TenantMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DDC.TenantMode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null