OldReferenceGeneratorDeprecated

OldReferenceGeneratorDeprecated

Generates values for the 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.

Attributes
Name Description Required Min Max Allowed Values
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
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.
Default: <not set>
no 0 1
reference reference yes 1 1
distribution Distribution to be used by a generator when calculating a value no 0 1
  • bankmark.pdgf.distribution.Logarithmic
  • bankmark.pdgf.distribution.Beta
  • bankmark.pdgf.distribution.Normal
  • bankmark.pdgf.distribution.Exponential
  • bankmark.pdgf.distribution.Zeta
  • bankmark.pdgf.distribution.Binomial
timeIDOffset Content type: Integer
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: 0(choose reference from SAME timeID)
no 0 1
includeDeletedIDs Content type: Boolean
When generating references to an update table, also reference already deleted IDs within that table.
Default: false
no 0 1
  • true
  • false
  • 0
  • 1
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.
Default: false
no 0 1
  • true
  • false
  • 0
  • 1
2.7-83fb0 | 2020-04-22