Water 5-Common Data Types-Number
method random
Contract
Return typewob
No input parameters.
Water Contract
<method random/>
Tries hard to create a random instance of the subject. Create a new object whose parent is the subject. If the subject is a record object, the new object will have the same field keys as the subject. The value of each field will be the value of calling random on the type of each field. If the field does not have a declared type, string will be used.
Example:
<class person first=optional=string last=optional=string 
                    age=optional=type.<range_of 0 100/>
                    amt=optional=integer
   />
20.<for_each combiner=insert>
    person.<random/>
   </>.<group> .first.<subvector end=1/> </>
do_not_show
Instances of person
firstlastageamt

c first

cesanud coler fel tocosu281

d first

d dasubasofobodo491
dulitucur tero691

f first

f mib lit cal fo840
f licad dilocerudameselo121
f tid laf radura621

l first

ludecinebat dom 801
l d cemebidunom le511
l nenudeduc l soc fube700
loribot nof f fiberem mutet l 661

m first

m t moserifici871

n first

n taronaror dif lo201
nusidatidimo201
nasisifunis dalalenofic l mifedede381

r first

rur dar sofumebire871
red lut racumicen tec nolif n 240

s first

secudinem tudote371
sonofinicitur nis 251

t first

t nesab molunule310
tadusufufedas 281