- All Implemented Interfaces:
- Enclosing class:
Nested Class Summary
Enum Constant SummaryEnum ConstantDescriptionClients may supply IDs but these IDs are not permitted to be purely numeric.Clients may supply any ID including purely numeric IDs.Clients are not allowed to supply IDs for resources that do not already exist
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
NOT_ALLOWEDClients are not allowed to supply IDs for resources that do not already exist
ALPHANUMERICClients may supply IDs but these IDs are not permitted to be purely numeric. In other words, values such as "A", "A1" and "000A" would be considered valid but "123" would not.
This is the default setting.
ANYClients may supply any ID including purely numeric IDs. Note that this setting should only be set on an empty database, or on a database that has always had this setting set as it causes a "forced ID" to be used for all resources.
Note that if you use this setting, it is highly recommended that you also set the
DaoConfig.IdStrategyEnum.UUIDin order to avoid any potential for conflicts. Otherwise a database sequence will be used to generate IDs and these IDs can conflict with client-assigned numeric IDs.
valuesReturns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
valueOfReturns 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.)