1 15 package org.apache.tapestry.junit.utils; 16 17 import java.util.Random ; 18 19 25 26 public class PublicBean 27 { 28 private static Random r = new Random (); 29 30 private static long random() 31 { 32 return r.nextLong(); 33 } 34 35 public String stringProperty = Long.toHexString(random()); 36 37 public Object objectProperty = new Long (random()); 38 39 public long longProperty = random(); 40 41 public double getSyntheticProperty() 42 { 43 return 3.14; 44 } 45 } 46 | Popular Tags |