AsReferenceChoice

AsReferenceChoice

Special generator. Sets the numeric value returned from a child generator as 'last choice'-metadata, emulating the behaviour of 'choice' generators like probability or reference generator. This 'last-choice'-metadata is ,e.g., used by reference generators sameChoiceAs mode, to do the same choice as the referenced generator. By using this AsReferenceChoice you can emulate such behaviour and 'compute' the choice yourself (e.g. the referenced tuple id).

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
gen Value Generator for this field yes 1 1
2.7-83fb0 | 2020-04-22