Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21869/modules/ejb/src/xdoclet/modules/ejb/entity/resources
Modified Files: valueobject.xdt Log Message: Refactoring by Tyler Ward. Use of unmodifiable collections and configureable synchronization. (XDT-1313) Index: valueobject.xdt =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/resources/valueobject.xdt,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -r1.25 -r1.26 *** valueobject.xdt 26 Mar 2005 10:28:33 -0000 1.25 --- valueobject.xdt 2 Apr 2005 21:17:55 -0000 1.26 *************** *** 1,440 **** ! /* ! * <XDtI18n:getString bundle="xdoclet.modules.ejb.XDocletModulesEjbMessages" resource="do_not_edit"/> ! */ ! <XDtPackage:packageDeclarationOf><XDtEjbValueObj:valueObjectClass/></XDtPackage:packageDeclarationOf> ! ! /** ! * <XDtI18n:getString bundle="xdoclet.modules.ejb.XDocletModulesEjbMessages" resource="value_object_for" arguments="<XDtEjb:ejbName/>"/> ! * ! <XDtClass:classCommentTags indent="0"/> */ ! public <XDtEjbValueObj:ifIsAbstractValueObject>abstract </XDtEjbValueObj:ifIsAbstractValueObject>class <XDtClass:classOf><XDtEjbValueObj:valueObjectClass/></XDtClass:classOf> [...1381 lines suppressed...] ! * ! * Also, if a or b is missing a primary key, an exception will be thrown. ! * ! * @throws java.lang.IllegalStateException if either object in the comparison is missing a primary key. ! * @throws java.lang.ClassCastException if one of the primary key elements is not Comparable ! */ ! public int compareTo(ReadOnly<XDtClass:classOf><XDtEjbValueObj:valueObjectClass/></XDtClass:classOf> that) { ! return getUnderlying().compareTo(that.getUnderlying()); ! } ! ! </XDtClass:ifClassTagValueEquals> ! ! } ! ! ! ! <XDtMerge:merge file="valueobject-custom.xdt"> ! </XDtMerge:merge> ! ! } ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel