OldReferenceGeneratorDeprecated

OldReferenceGeneratorDeprecated

Generates values for referencing field by following the reference and randomly (following the specified distribution) picking an ID from the value set of valid ID's from the referenced Table and recalculating its Value. Default timeIDOffset = 0. Default: chose reference from SAME timeID. This may skew time dependencies as it might chooses a reference to an ID yet to be created in this generation. To prevent this, use an timeIDOffset of -1 to choose reference from previous generation of referenced Table.

Attributes
Name Description Required Min Max Allowed Values
seed Random number generator seed of this Element. Overrides default seeding behavior. no 0 1
name (Class)Name of this element. Used to identify plugin Class. Full name is required. Example: com.en.myPluginPackage.myPuginClass no 0 1
id Identification String of this element. May be used to uniquely identify a field within the children of an Element. no 0 1
Nodes
Name Description Required Min Max Allowed Values
useRelativeTimeIDs Content type: Boolean
Use timeIDs relative to the number of updates of the parent table for reference access. This is useful in cases when a referenced table uses a different number of updates than the referencing table.
no 0 1
  • true
  • false
  • 0
  • 1
reference reference yes 1 1
sameChoiceAs Content type: Empty
Requires a <field> and a <generatorByID> attribute (in same table) to pick the row number from. If specified this OldReferenceGeneratorDeprecated does not choose a random row, but it uses the same row as the referenced generator.
no 0 1
distribution Distribution to be used by a generator when calculating a value no 0 1
includeDeletedIDs Content type: Boolean
When generating references to an update table, also reference already deleted IDs within that table.
no 0 1
  • true
  • false
  • 0
  • 1
timeIDOffset Content type: Long
Default: chose reference from SAME timeID. This may skew time dependencies as it might choose a reference to an ID yet to be created in this generation. To prevent this, use a timeIDOffset of -1 to choose a reference from a previous generation in the referenced table. Default offset is 0.
no 0 1
2.6_#1486_b758 | 2016-05-24