1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net.jot.test.db; import java.lang.reflect.TypeVariable; import net.jot.persistance.HasMany; import net.jot.persistance.JOTModel; import net.jot.persistance.JOTModelMapping; /** * * @author thibautc */ public class TestAuthor extends JOTModel { // would need to pass an id so books.find can search only books by this author public HasMany books=new HasMany(TestBook.class); public TypeVariable[] getTypeParameters() { throw new UnsupportedOperationException("Not supported yet."); } protected void customize(JOTModelMapping mapping) { } }