Package org.mypj.db.thing

Examples of org.mypj.db.thing.Event


  }

  @Test
  public void testAddPersonEvent() {
    Person p1=new Person("haku");
    Event e1=new Event(new Date(),"my home","study japanese");
    p1.getEvents().add(e1);
    impl.create(p1);
    Person p2= impl.getByName("haku");
    assertNotNull(p2);
    assertNotNull(p2.getEvents());
View Full Code Here

TOP

Related Classes of org.mypj.db.thing.Event

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.