From: <one...@us...> - 2003-04-25 03:41:09
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/mapping In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/mapping Modified Files: ForeignKey.java OneToMany.java Log Message: JavaDoc refresh, including @author tags Index: ForeignKey.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/mapping/ForeignKey.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ForeignKey.java 14 Jan 2003 13:42:15 -0000 1.4 --- ForeignKey.java 25 Apr 2003 03:40:35 -0000 1.5 *************** *** 31,35 **** public void setReferencedTable(Table referencedTable) throws MappingException { if ( referencedTable.getPrimaryKey().getColumnSpan()!=getColumnSpan() ) ! throw new MappingException("Foreign key must have same number of columns as referenced primary key"); Iterator fkCols = getColumnIterator(); --- 31,35 ---- public void setReferencedTable(Table referencedTable) throws MappingException { if ( referencedTable.getPrimaryKey().getColumnSpan()!=getColumnSpan() ) ! throw new MappingException("Foreign key must have same number of columns as referenced primary key"); Iterator fkCols = getColumnIterator(); Index: OneToMany.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/mapping/OneToMany.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** OneToMany.java 27 Jan 2003 07:12:03 -0000 1.5 --- OneToMany.java 25 Apr 2003 03:40:35 -0000 1.6 *************** *** 4,9 **** import net.sf.hibernate.MappingException; import net.sf.hibernate.type.EntityType; ! public class OneToMany { //TODO: actually keep a list of columns --- 4,10 ---- import net.sf.hibernate.MappingException; import net.sf.hibernate.type.EntityType; + import net.sf.hibernate.util.Stringable; ! public class OneToMany extends Stringable { //TODO: actually keep a list of columns *************** *** 24,31 **** } - /** - * Sets the type. - * @param type The type to set - */ public void setType(EntityType type) { this.type = type; --- 25,28 ---- |