UUID

UUID

Generates a random 'universally unique identifier' (UUID) in version 4, variant 2 (Leach-Salz). A UUID represents a 128-bit value. For more information: http://de.wikipedia.org/wiki/Universally_Unique_Identifier#.28Pseudo.29zuf.C3.A4llig_generierte_UUIDs_.28Version_4.29

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

Example

  1. Universally Unique Identifier (UUID)

    Generates a UUID

    Schema config for Universally Unique Identifier (UUID)
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!--
    /*******************************************************************************
    * Copyright (c) 2013, bankmark and/or its affiliates. All rights reserved.
    * bankmark UG PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
    ******************************************************************************/
    --><schema xmlns:doc="http://bankmark.de/pdgf/doc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="demo" xsi:noNamespaceSchemaLocation="structure/pdgfSchema.xsd">
      <!-- All data is derived from this starting seed.
           If this seed is the same, the generated data will the same on each
           computer/node/platform.
           Change this seed to generate a different data set.-->
      <seed>1234567890L</seed>
    
      <rng name="PdgfDefaultRandom"/>
    
      <!--Default Scale factor for all tables -->
      <property name="SF" type="double">1</property>
    
      <table name="UUID">
        <!-- if tables should scale with -SF command line argument.
             Specify your scaling formula here: -->
        <size>10 * ${SF}</size>
    
        <!--Universally Unique Identifier (UUID)-->
          <!--Generates a UUID-->
          <field name="uuid" size="" type="VARCHAR">
            <gen_UUID>
            </gen_UUID>
          </field>
          </table>
    </schema>
    
    Output for Universally Unique Identifier (UUID)
    d1b797cc-95bc-48b1-984a-2fb450e55f01
    38990a1c-57c4-463d-a7f2-499072de51d0
    20a36691-58ba-47fb-bc87-de0e70dc22dc
    d52f04b5-3810-46b4-a097-15a2eea6e5de
    66db82b7-d4cb-4c5f-b874-f912cbc8aafc
    4349b92b-cd36-4d74-b1f1-c45feba736e3
    9fd54e79-cfa1-44bb-b21e-62ec99b8d112
    434d4519-b27a-4619-b3c0-505c1fd9665a
    801714c9-75ad-419d-9720-43626fb76d21
    9ee1c5bc-d767-4b29-88d3-afc5d0cc19a6
2.6_#1486_b758 | 2016-05-24