Update of /cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27863/src/java/test/hibernate
Modified Files: Name.java Log Message: Modifications for XDT-884 - to prove that actionforms can be generated from POJOs Index: Name.java =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate/Name.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** Name.java 15 Mar 2003 06:00:44 -0000 1.1 --- Name.java 1 Sep 2004 11:42:04 -0000 1.2 *************** *** 1,69 **** ! package test.hibernate; ! ! /** ! * @author Administrator ! * ! */ ! public class Name { ! ! private String first; ! private char initial; ! private String last; ! ! /** ! * @hibernate.property ! * column="FIRST_NAME" ! * Returns the first. ! * @return String ! */ ! public String getFirst() { ! return first; ! } ! ! /** ! * @hibernate.property ! * @hibernate.column ! * name="INITIAL" ! * sql-type="VARCHAR(1)" ! * not-null="true" ! * Returns the initial. ! * @return char ! */ ! public char getInitial() { ! return initial; ! } ! ! /** ! * @hibernate.property ! * column="LIST_NAME" ! * @return String ! */ ! public String getLast() { ! return last; ! } ! ! /** ! * Sets the first. ! * @param first The first to set ! */ ! public void setFirst(String first) { ! this.first = first; ! } ! ! /** ! * Sets the initial. ! * @param initial The initial to set ! */ ! public void setInitial(char initial) { ! this.initial = initial; ! } ! ! /** ! * Sets the last. ! * @param last The last to set ! */ ! public void setLast(String last) { ! this.last = last; ! } ! ! } --- 1,69 ---- ! package test.hibernate; ! ! /** ! * @author Administrator ! * @struts.form include-all="true" ! */ ! public class Name { ! ! private String first; ! private char initial; ! private String last; ! ! /** ! * @hibernate.property ! * column="FIRST_NAME" ! * Returns the first. ! * @return String ! */ ! public String getFirst() { ! return first; ! } ! ! /** ! * @hibernate.property ! * @hibernate.column ! * name="INITIAL" ! * sql-type="VARCHAR(1)" ! * not-null="true" ! * Returns the initial. ! * @return char ! */ ! public char getInitial() { ! return initial; ! } ! ! /** ! * @hibernate.property ! * column="LIST_NAME" ! * @return String ! */ ! public String getLast() { ! return last; ! } ! ! /** ! * Sets the first. ! * @param first The first to set ! */ ! public void setFirst(String first) { ! this.first = first; ! } ! ! /** ! * Sets the initial. ! * @param initial The initial to set ! */ ! public void setInitial(char initial) { ! this.initial = initial; ! } ! ! /** ! * Sets the last. ! * @param last The last to set ! */ ! public void setLast(String last) { ! this.last = last; ! } ! ! } ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel