01: package net.sourceforge.jaxor.parser;
02:
03: import java.util.Iterator;
04:
05: /*
06: * User: Mike
07: * Date: Aug 27, 2003
08: * Time: 7:57:13 PM
09: */
10:
11: public class ListRef extends EntityRef {
12:
13: public boolean isUnique() {
14: return false;
15: }
16:
17: public String getName(EntityCollection col) {
18: Jaxor target = col.resolveEntity(getTable());
19: return getMethodName(target.getEntity().getGeneratedListName());
20: }
21:
22: public String getType(EntityCollection col) {
23: Jaxor target = col.resolveEntity(getTable());
24: return target.getListClassFull();
25: }
26: }
|