super(role, propertyRef, isEmbeddedInXML);
return List.class;
List list = (List) collection; for ( int i=0; i<list.size(); i++ ) { //TODO: proxies! if ( list.get(i)==element ) return new Integer(i); } return null;
if ( session.getEntityMode()==EntityMode.DOM4J ) { return new PersistentListElementHolder(session, persister, key); } else { return new PersistentList(session); }
return anticipatedSize <= 0 ? new ArrayList() : new ArrayList( anticipatedSize + 1 );
if ( session.getEntityMode()==EntityMode.DOM4J ) { return new PersistentListElementHolder( session, (Element) collection ); } else { return new PersistentList( session, (List) collection ); }