Update of
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/resources
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14694/modules/hibernate/src/xdoclet/modules/hibernate/resources
Modified Files:
hibernate-key$method.xdt hibernate-cache$class.xdt
hibernate-collections.xdt hibernate-column$method.xdt
Added Files:
hibernate-list-index.xdt hibernate-index-many-to-many.xdt
hibernate-key-property.xdt hibernate-cache$method.xdt
hibernate-key-many-to-one.xdt hibernate-jcs-cache$method.xdt
hibernate-index.xdt hibernate-composite-index.xdt
Log Message:
Begin cleanup of collections.xdt; prefer Hibernate tags named after DTD
elements over @hibernate.collection-* tags.
--- NEW FILE: hibernate-list-index.xdt ---
<XDtMethod:ifHasMethodTag tagName="hibernate.list-index">
<list-index
<XDtMethod:ifHasMethodTag tagName="hibernate.list-index" paramName="column">
column="<XDtMethod:methodTagValue
tagName="hibernate.list-index" paramName="column"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.list-index" paramName="base">
base="<XDtMethod:methodTagValue tagName="hibernate.list-index"
paramName="base"/>"
</XDtMethod:ifHasMethodTag>
>
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-column$method.xdt"></XDtMerge:merge>
</list-index>
</XDtMethod:ifHasMethodTag>
--- NEW FILE: hibernate-index-many-to-many.xdt ---
<XDtMethod:ifHasMethodTag tagName="hibernate.index-many-to-many">
<index-many-to-many
class="<XDtMethod:methodTagValue
tagName="hibernate.index-many-to-many" paramName="class" />"
<XDtMethod:ifHasMethodTag tagName="hibernate.index-many-to-many"
paramName="entity-name">
entity-name="<XDtMethod:methodTagValue
tagName="hibernate.index-many-to-many" paramName="entity-name" />"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.index-many-to-many"
paramName="column">
column="<XDtMethod:methodTagValue
tagName="hibernate.index-many-to-many" paramName="column" />"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.index-many-to-many"
paramName="foreign-key">
foreign-key="<XDtMethod:methodTagValue
tagName="hibernate.index-many-to-many" paramName="foreign-key" />"
</XDtMethod:ifHasMethodTag>
>
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-column$method.xdt"></XDtMerge:merge>
</index-many-to-many>
</XDtMethod:ifHasMethodTag>
--- NEW FILE: hibernate-key-property.xdt ---
<XDtMethod:forAllMethods superclasses="true" sort="true">
<XDtMethod:ifHasMethodTag tagName="hibernate.key-property">
<key-property
name="<XDtMethod:propertyName />"
<XDtMethod:ifHasMethodTag tagName="hibernate.key-property"
paramName="access">
access="<XDtMethod:methodTagValue
tagName="hibernate.key-property" paramName="access"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.key-property"
paramName="type">
type="<XDtMethod:methodTagValue
tagName="hibernate.key-property" paramName="type"
default="<XDtMethod:methodType/>"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.key-property"
paramName="column">
column="<XDtMethod:methodTagValue
tagName="hibernate.key-property" paramName="column"
default="<XDtHibernate:computeColumnName base='<XDtMethod:propertyName/>'/>"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.key-property"
paramName="length">
length="<XDtMethod:methodTagValue
tagName="hibernate.key-property" paramName="length" />"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.key-property"
paramName="node">
node="<XDtMethod:methodTagValue
tagName="hibernate.key-property" paramName="node" />"
</XDtMethod:ifHasMethodTag>
>
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-meta$method.xdt"></XDtMerge:merge>
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-column$method.xdt"></XDtMerge:merge>
</key-property>
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifDoesntHaveMethodTag tagName="hibernate.key-property">
<XDtMethod:ifHasMethodTag tagName="hibernate.property">
<XDtMethod:ifDoesntHaveMethodTag tagName="hibernate.property"
paramName="formula">
<key-property
name="<XDtMethod:propertyName />"
type="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="type"
default="<XDtMethod:methodType/>"/>"
<XDtMethod:ifHasMethodTag tagName="hibernate.property"
paramName="access">
access="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="access"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.property"
paramName="column">
column="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="column"
default="<XDtHibernate:computeColumnName base='<XDtMethod:propertyName/>'/>"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.property"
paramName="length">
length="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="length" />"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.property"
paramName="optimistic-lock">
optimistic-lock="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="optimistic-lock" />"
</XDtMethod:ifHasMethodTag>
>
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-meta$method.xdt"></XDtMerge:merge>
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-column$method.xdt"></XDtMerge:merge>
</key-property>
</XDtMethod:ifDoesntHaveMethodTag>
</XDtMethod:ifHasMethodTag>
</XDtMethod:ifDoesntHaveMethodTag>
</XDtMethod:forAllMethods>
--- NEW FILE: hibernate-cache$method.xdt ---
<XDtMethod:ifHasMethodTag tagName="hibernate.cache" supermethodes="false">
<cache
<XDtMethod:ifHasMethodTag tagName="hibernate.cache" paramName="usage">
usage="<XDtMethod:methodTagValue tagName="hibernate.cache"
paramName="usage" />"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.cache" paramName="region">
region="<XDtMethod:methodTagValue tagName="hibernate.cache"
paramName="region" />"
</XDtMethod:ifHasMethodTag>
/>
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.collection-cache">
<!-- @hibernate.collection-cache tag is deprecated, use
@hibernate.cache instead -->
<cache
usage="<XDtMethod:methodTagValue
tagName="hibernate.collection-cache" paramName="usage"
values="read-only,read-write,nonstrict-read-write,transactional" />"
/>
</XDtMethod:ifHasMethodTag>
--- NEW FILE: hibernate-key-many-to-one.xdt ---
<XDtMethod:forAllMethods superclasses="true" sort="true">
<XDtMethod:ifHasMethodTag tagName="hibernate.key-many-to-one">
<key-many-to-one
name="<XDtMethod:propertyName/>"
<XDtMethod:ifHasMethodTag tagName="hibernate.key-many-to-one"
paramName="access">
access="<XDtMethod:methodTagValue
tagName="hibernate.key-many-to-one" paramName="access"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.key-many-to-one"
paramName="class">
class="<XDtMethod:methodTagValue
tagName="hibernate.key-many-to-one" paramName="class" />"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.key-many-to-one"
paramName="entity-name">
entity-name="<XDtMethod:methodTagValue
tagName="hibernate.key-many-to-one" paramName="entity-name"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.key-many-to-one"
paramName="column">
column="<XDtMethod:methodTagValue
tagName="hibernate.key-many-to-one" paramName="column"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.key-many-to-one"
paramName="foreign-key">
foreign-key="<XDtMethod:methodTagValue
tagName="hibernate.key-many-to-one" paramName="foreign-key"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.key-many-to-one"
paramName="lazy">
lazy="<XDtMethod:methodTagValue
tagName="hibernate.key-many-to-one" paramName="lazy"/>"
</XDtMethod:ifHasMethodTag>
>
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-meta$method.xdt"></XDtMerge:merge>
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-column$method.xdt"></XDtMerge:merge>
</key-many-to-one>
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifDoesntHaveMethodTag tagName="hibernate.key-many-to-one">
<XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one">
<key-many-to-one
name="<XDtMethod:propertyName/>"
<XDtConfig:ifConfigParamGreaterOrEquals paramName="version"
value="2.1">
<XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one"
paramName="class">
class="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="class" />"
</XDtMethod:ifHasMethodTag>
</XDtConfig:ifConfigParamGreaterOrEquals>
<XDtConfig:ifConfigParamNotGreaterOrEquals paramName="version"
value="2.1">
class="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="class"
default="<XDtMethod:methodType/>" />"
</XDtConfig:ifConfigParamNotGreaterOrEquals>
<XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one"
paramName="access">
access="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="access"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one"
paramName="foreign-key">
foreign-key="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="foreign-key"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifDoesntHaveMethodTag tagName="hibernate.column">
<XDtMethod:ifDoesntHaveMethodTag tagName="hibernate.property"
paramName="formula">
column="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="column"
default="<XDtHibernate:computeColumnName base='<XDtMethod:propertyName/>'/>"/>"
<XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one"
paramName="length">
length="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="length" />"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one"
paramName="optimistic-lock">
optimistic-lock="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="optimistic-lock" />"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one"
paramName="not-null">
not-null="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="not-null" values="true,false"
default="false"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one"
paramName="unique">
unique="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="unique" values="true,false"
default="false"/>"
</XDtMethod:ifHasMethodTag>
</XDtMethod:ifDoesntHaveMethodTag>
</XDtMethod:ifDoesntHaveMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one"
paramName="type">
type="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="type"/>"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one"
paramName="node">
node="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="node"/>"
</XDtMethod:ifHasMethodTag>
>
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-meta$method.xdt"></XDtMerge:merge>
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-column$method.xdt"></XDtMerge:merge>
</key-many-to-one>
</XDtMethod:ifHasMethodTag>
</XDtMethod:ifDoesntHaveMethodTag>
</XDtMethod:forAllMethods>
--- NEW FILE: hibernate-jcs-cache$method.xdt ---
<XDtMethod:ifHasMethodTag tagName="hibernate.jcs-cache">
<jcs-cache
usage="<XDtMethod:methodTagValue tagName="hibernate.jcs-cache"
paramName="usage"
values="read-only,read-write,nonstrict-read-write,transactional" />"
/>
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.collection-jcs-cache">
<!-- @hibernate.collection-jcs-cache tag is deprecated, use
@hibernate.jcs-cache instead -->
<jcs-cache
usage="<XDtMethod:methodTagValue
tagName="hibernate.collection-jcs-cache" paramName="usage"
values="read-only,read-write,nonstrict-read-write,transactional" />"
/>
</XDtMethod:ifHasMethodTag>
--- NEW FILE: hibernate-index.xdt ---
<XDtMethod:ifHasMethodTag tagName="hibernate.index">
<index
<XDtMethod:ifHasMethodTag tagName="hibernate.index" paramName="column">
column="<XDtMethod:methodTagValue tagName="hibernate.index"
paramName="column" />"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.index" paramName="type">
type="<XDtMethod:methodTagValue tagName="hibernate.index"
paramName="type" />"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.index" paramName="length">
length="<XDtMethod:methodTagValue tagName="hibernate.index"
paramName="length" />"
</XDtMethod:ifHasMethodTag>
>
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-column$method.xdt"></XDtMerge:merge>
</index>
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.collection-index">
<index
column="<XDtMethod:methodTagValue
tagName="hibernate.collection-index" paramName="column" />"
<XDtMethod:ifHasMethodTag tagName="hibernate.collection-index"
paramName="type">
type="<XDtMethod:methodTagValue
tagName="hibernate.collection-index" paramName="type" />"
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.collection-index"
paramName="length">
length="<XDtMethod:methodTagValue
tagName="hibernate.collection-index" paramName="length" />"
</XDtMethod:ifHasMethodTag>
/>
</XDtMethod:ifHasMethodTag>
--- NEW FILE: hibernate-composite-index.xdt ---
<XDtMethod:ifHasMethodTag tagName="hibernate.composite-index">
<composite-index
class="<XDtMethod:methodTagValue
tagName="hibernate.composite-index" paramName="class" />"
>
<XDtClass:pushClass value="<XDtMethod:methodTagValue
tagName='hibernate.composite-index' paramName='class' />">
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-key-property.xdt"></XDtMerge:merge>
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-key-many-to-one.xdt"></XDtMerge:merge>
</XDtClass:pushClass>
</composite-index>
</XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.collection-composite-index">
<!-- @hibernate.collection-composite-index tag is deprecated, use
@hibernate.composite-index instead -->
<composite-index
class="<XDtMethod:methodTagValue
tagName="hibernate.collection-composite-index" paramName="class" />"
>
<XDtClass:pushClass value="<XDtMethod:methodTagValue
tagName='hibernate.collection-composite-index' paramName='class' />">
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-key-property.xdt"></XDtMerge:merge>
<XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-key-many-to-one.xdt"></XDtMerge:merge>
</XDtClass:pushClass>
</composite-index>
</XDtMethod:ifHasMethodTag>
Index: hibernate-collections.xdt
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/resources/hibernate-collections.xdt,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** hibernate-collections.xdt 20 May 2005 15:00:18 -0000 1.28
--- hibernate-collections.xdt 6 Jun 2005 16:47:36 -0000 1.29
***************
*** 1,159 ****
! <XDtMethod:ifHasMethodTag tagName="hibernate.cache">
! <cache
! usage="<XDtMethod:methodTagValue tagName="hibernate.cache"
paramName="usage"
values="read-only,read-write,nonstrict-read-write,transactional" />"
! />
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag tagName="hibernate.jcs-cache">
! <jcs-cache
! usage="<XDtMethod:methodTagValue
tagName="hibernate.jcs-cache" paramName="usage"
values="read-only,read-write,nonstrict-read-write,transactional" />"
! />
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag tagName="hibernate.collection-cache">
! <cache
! usage="<XDtMethod:methodTagValue
tagName="hibernate.collection-cache" paramName="usage"
values="read-only,read-write,nonstrict-read-write,transactional" />"
! />
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag tagName="hibernate.collection-jcs-cache">
! <jcs-cache
! usage="<XDtMethod:methodTagValue
tagName="hibernate.collection-jcs-cache" paramName="usage"
values="read-only,read-write,nonstrict-read-write,transactional" />"
! />
! </XDtMethod:ifHasMethodTag>
!
! <XDtMethod:ifHasMethodTag tagName="hibernate.collection-key">
! <key
! <XDtMethod:ifDoesntHaveMethodTag
tagName="hibernate.collection-key-column">
! column="<XDtMethod:methodTagValue
tagName="hibernate.collection-key" paramName="column" />"
! <XDtMethod:ifHasMethodTag tagName="hibernate.collection-key"
paramName="length">
! length="<XDtMethod:methodTagValue
tagName="hibernate.collection-key" paramName="length" />"
! </XDtMethod:ifHasMethodTag>
! </XDtMethod:ifDoesntHaveMethodTag>
! <XDtMethod:ifHasMethodTag tagName="hibernate.collection-key"
paramName="foreign-key">
! foreign-key="<XDtMethod:methodTagValue
tagName="hibernate.collection-key" paramName="foreign-key"/>"
! </XDtMethod:ifHasMethodTag>
! >
! <XDtMethod:forAllMethodTags
tagName="hibernate.collection-key-column">
! <column
! name="<XDtHibernate:computeColumnName
base='<XDtMethod:methodTagValue tagName="hibernate.collection-key-column"
paramName="name"/>'/>"
! <XDtMethod:ifHasMethodTag
tagName="hibernate.collection-key-column" paramName="length">
! length="<XDtMethod:methodTagValue
tagName="hibernate.collection-key-column" paramName="length" />"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag
tagName="hibernate.collection-key-column" paramName="unique-key">
! unique-key="<XDtMethod:methodTagValue
tagName="hibernate.collection-key-column" paramName="unique-key" />"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag
tagName="hibernate.collection-key-column" paramName="index">
! index="<XDtMethod:methodTagValue
tagName="hibernate.collection-key-column" paramName="index" />"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag
tagName="hibernate.collection-key-column" paramName="not-null">
! not-null="<XDtMethod:methodTagValue
tagName="hibernate.collection-key-column" paramName="not-null" default="false"
/>"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag
tagName="hibernate.collection-key-column" paramName="unique">
! unique="<XDtMethod:methodTagValue
tagName="hibernate.collection-key-column" paramName="unique" default="false" />"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag
tagName="hibernate.collection-key-column" paramName="sql-type">
! sql-type="<XDtMethod:methodTagValue
tagName="hibernate.collection-key-column" paramName="sql-type" />"
! </XDtMethod:ifHasMethodTag>
! />
! </XDtMethod:forAllMethodTags>
! </key>
! </XDtMethod:ifHasMethodTag>
!
! <XDtMethod:ifHasMethodTag tagName="hibernate.collection-index">
! <index
! column="<XDtMethod:methodTagValue
tagName="hibernate.collection-index" paramName="column" />"
! <XDtMethod:ifHasMethodTag tagName="hibernate.collection-index"
paramName="type">
! type="<XDtMethod:methodTagValue
tagName="hibernate.collection-index" paramName="type" />"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag tagName="hibernate.collection-index"
paramName="length">
! length="<XDtMethod:methodTagValue
tagName="hibernate.collection-index" paramName="length" />"
! </XDtMethod:ifHasMethodTag>
! />
! </XDtMethod:ifHasMethodTag>
!
! <XDtMethod:ifHasMethodTag tagName="hibernate.list-index">
! <list-index
! column="<XDtMethod:methodTagValue
tagName="hibernate.list-index" paramName="column"/>"
! <XDtMethod:ifHasMethodTag tagName="hibernate.list-index"
paramName="base">
! base="<XDtMethod:methodTagValue
tagName="hibernate.list-index" paramName="base"/>"
! </XDtMethod:ifHasMethodTag>
! />
! </XDtMethod:ifHasMethodTag>
!
! <XDtMethod:ifHasMethodTag
tagName="hibernate.collection-composite-index">
! <composite-index
! class="<XDtMethod:methodTagValue
tagName="hibernate.collection-composite-index" paramName="class" />"
! >
! <XDtClass:pushClass value="<XDtMethod:methodTagValue
tagName='hibernate.collection-composite-index' paramName='class' />">
! <XDtMethod:forAllMethods superclasses="true" sort="true">
!
! <XDtMethod:ifHasMethodTag tagName="hibernate.property">
! <XDtMethod:ifDoesntHaveMethodTag
tagName="hibernate.property" paramName="formula">
! <key-property
! name="<XDtMethod:propertyName />"
! type="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="type"
default="<XDtMethod:methodType/>"/>"
! <XDtMethod:ifHasMethodTag tagName="hibernate.property"
paramName="access">
! access="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="access"/>"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag tagName="hibernate.property"
paramName="column">
! column="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="column"
default="<XDtHibernate:computeColumnName base='<XDtMethod:propertyName/>'/>"/>"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag tagName="hibernate.property"
paramName="length">
! length="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="length" />"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag tagName="hibernate.property"
paramName="optimistic-lock">
! optimistic-lock="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="optimistic-lock" />"
! </XDtMethod:ifHasMethodTag>
! >
! <XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-meta$method.xdt"></XDtMerge:merge>
! <XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-column$method.xdt"></XDtMerge:merge>
! </key-property>
! </XDtMethod:ifDoesntHaveMethodTag>
! </XDtMethod:ifHasMethodTag>
!
! <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one">
! <key-many-to-one
! name="<XDtMethod:propertyName/>"
! class="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="class"
default="<XDtMethod:methodType/>" />"
! <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one"
paramName="access">
! access="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="access"/>"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one"
paramName="foreign-key">
! foreign-key="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="foreign-key"/>"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifDoesntHaveMethodTag tagName="hibernate.column">
! <XDtMethod:ifDoesntHaveMethodTag
tagName="hibernate.property" paramName="formula">
! column="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="column"
default="<XDtHibernate:computeColumnName base='<XDtMethod:propertyName/>'/>"/>"
! <XDtMethod:ifHasMethodTag
tagName="hibernate.many-to-one" paramName="length">
! length="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="length" />"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag
tagName="hibernate.many-to-one" paramName="optimistic-lock">
! optimistic-lock="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="optimistic-lock" />"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag
tagName="hibernate.many-to-one" paramName="not-null">
! not-null="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="not-null" values="true,false"
default="false"/>"
! </XDtMethod:ifHasMethodTag>
! <XDtMethod:ifHasMethodTag
tagName="hibernate.many-to-one" paramName="unique">
! unique="<XDtMethod:methodTagValue
tagName="hibernate.many-to-one" paramName="unique" values="true,false"
default="false"/>"
! </XDtMethod:ifHasMethodTag>
! </XDtMethod:ifDoesntHaveMethodTag>
! </XDtMethod:ifDoesntHaveMethodTag>
! >
! <XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-meta$method.xdt"></XDtMerge:merge>
! <XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-column$method.xdt"></XDtMerge:merge>
! </key-many-to-one>
! </XDtMethod:ifHasMethodTag>
!
! </XDtMethod:forAllMethods>
! </XDtClass:pushClass>
! </composite-index>
! </XDtMethod:ifHasMethodTag>
!
! <XDtMethod:ifHasMethodTag tagName="hibernate.index-many-to-many">
! <index-many-to-many
! class="<XDtMethod:methodTagValue
tagName="hibernate.index-many-to-many" paramName="class" />"
! <XDtMethod:ifHasMethodTag
tagName="hibernate.index-many-to-many" paramName="column">
! column="<XDtMethod:methodTagValue
tagName="hibernate.index-many-to-many" paramName="column" />"
! </XDtMethod:ifHasMethodTag>
! />
! </XDtMethod:ifHasMethodTag>
<XDtMethod:ifHasMethodTag tagName="hibernate.collection-element">
--- 1,9 ----
! <XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-cache$method.xdt"></XDtMerge:merge>
! <XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-jcs-cache$method.xdt"></XDtMerge:merge>
! <XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-key$method.xdt"></XDtMerge:merge>
! <XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-index.xdt"></XDtMerge:merge>
! <XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-list-index.xdt"></XDtMerge:merge>
! <XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-composite-index.xdt"></XDtMerge:merge>
! <XDtMerge:merge
file="xdoclet/modules/hibernate/resources/hibernate-index-many-to-many.xdt"></XDtMerge:merge>
<XDtMethod:ifHasMethodTag tagName="hibernate.collection-element">
Index: hibernate-column.xdt
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/resources/Attic/hibernate-column.xdt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** hibernate-column.xdt 13 Mar 2003 03:52:33 -0000 1.1
--- hibernate-column.xdt 15 Mar 2003 05:43:09 -0000 1.2
***************
*** 36,40 ****
sql-type="<XDtMethod:methodTagValue
tagName="hibernate.column" paramName="sql-type" />"
</XDtMethod:ifHasMethodTag>
! >
</XDtMethod:forAllMethodTags>
</<XDtHibernate:getCurrentMappingElement/>>
--- 36,40 ----
sql-type="<XDtMethod:methodTagValue
tagName="hibernate.column" paramName="sql-type" />"
</XDtMethod:ifHasMethodTag>
! />
</XDtMethod:forAllMethodTags>
</<XDtHibernate:getCurrentMappingElement/>>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel