User: ara_e_w Date: 02/06/12 14:27:56 Modified: samples/src/java/test/ejb AccountBean.java Log: - remove ver-uid parameter of ejb:bean doc plus cleanup the code/templates - cleanup Revision Changes Path 1.3 +27 -27 xdoclet/samples/src/java/test/ejb/AccountBean.java Index: AccountBean.java =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/samples/src/java/test/ejb/AccountBean.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- AccountBean.java 28 May 2002 21:12:36 -0000 1.2 +++ AccountBean.java 12 Jun 2002 21:27:56 -0000 1.3 @@ -30,8 +30,8 @@ * * @ejb:value-object name="Account" match="*" * - * @version $Revision: 1.2 $ - * @author $Author: rinkrank $ + * @version $Revision: 1.3 $ + * @author $Author: ara_e_w $ */ public abstract class AccountBean implements EntityBean { @@ -66,6 +66,32 @@ /** + * Owner of this account. + * @ejb:persistent-field + * @ejb:persistence column-name="last_modif" sql-type="TIMESTAMP" + * + * @ejb:interface-method + * @ejb:permission role-name="Administrator" + * @ejb:transaction type="Supports" + * @ejb:value-object match="*" aggregate="test.interfaces.CustomerNormalValue" aggregate-name="OwnerNormalValue" + */ + public abstract test.interfaces.Customer getOwner(); + + /** + * @ejb:value-object match="*" relation="external" + */ + public float getTotalBalance() + { + // do some dynamic calculation + return 0; + } + + /** + * Owner of this account. + */ + public abstract void setOwner(test.interfaces.Customer owner); + + /** * Balance of the account. * * @ejb:interface-method @@ -116,32 +142,6 @@ public abstract Date getLastModificationDate(); public abstract void setLastModificationDate(Date d); - - /** - * Owner of this account. - * @ejb:persistent-field - * @ejb:persistence column-name="last_modif" sql-type="TIMESTAMP" - * - * @ejb:interface-method - * @ejb:permission role-name="Administrator" - * @ejb:transaction type="Supports" - * @ejb:value-object match="*" aggregate="test.interfaces.CustomerNormalValue" aggregate-name="OwnerNormalValue" - */ - public abstract test.interfaces.Customer getOwner(); - - /** - * @ejb:value-object match="*" relation="external" - */ - public float getTotalBalance() - { - // do some dynamic calculation - return 0; - } - - /** - * Owner of this account. - */ - public abstract void setOwner(test.interfaces.Customer owner); /** * Generated bulk accessor.
_______________________________________________________________ Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel