Element
|
Description
|
<class>
|
Specifies the class whose generateValue method is invoked; this class must implement wt.enterprise.AttributeValueGenerator. The out-of-the-box generator class is wt.enterprise.SequenceGenerator.
|
<key>
|
Specifies the key to be passed to the generateValue method as the argument. When using the wt.enterprise.SequenceGenerator class, the key is the name of the database sequence to use. The generator simply assigns the next sequence value.
|
<length>
|
Specifies the length of the resulting value; a length of zero indicates that length is arbitrary.
If the generated value is longer than <length>, it is not truncated.
|
<pad>
|
Specifies the character used to pad the generated value to the specified length. The default pad character is 0. Changing this character can change the sequence order of the generated number. Do not specify a number other than 0 as the pad character.
|