Examples of PolymorphicModel


Examples of siena.base.test.model.PolymorphicModel

 
  public void testPolymorphic() {
    PolymorphicModel<String> poly = new PolymorphicModel<String>("test");
    pm.insert(poly);
   
    PolymorphicModel poly2 = pm.getByKey(PolymorphicModel.class, poly.id);
    assertEquals(poly, poly2);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.