Package org.jboss.cache.data

Examples of org.jboss.cache.data.Student


//         ((Student)obj).setSchool("Pingtung");
      }

      static Object constructObject()
      {
         Student joe = new Student();
         joe.setName("Joe");

         Address add = new Address();
         add.setZip(94086);
         add.setCity("Sunnyvale)");
         add.setStreet("Albertson");
         joe.setAddress(add);

         String str;
         for(int i=0; i < objectListSize_; i++)
         {
            Course course = new Course();
            str = RandomString.randomstring(10,20);
            course.setInstructor(str);
            str = RandomString.randomstring(10,20);
            course.setTitle(str);
            str = RandomString.randomstring(10,20);
            course.setRoom(str);
            joe.addCourse(course);
         }

         return joe;
      }
View Full Code Here


         cache_.put(fqn, "test1", "Pingtung");
      }

      static Object constructObject()
      {
         Student joe = new Student();
         joe.setName("Joe");

         Address add = new Address();
         add.setZip(94086);
         add.setCity("Sunnyvale)");
         add.setStreet("Albertson");
         joe.setAddress(add);

         String str;
         for(int i=0; i < objectListSize_; i++)
         {
            Course course = new Course();
            str = RandomString.randomstring(10,20);
            course.setInstructor(str);
            str = RandomString.randomstring(10,20);
            course.setTitle(str);
            str = RandomString.randomstring(10,20);
            course.setRoom(str);
            joe.addCourse(course);
         }

         return joe;
      }
View Full Code Here

TOP

Related Classes of org.jboss.cache.data.Student

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.