weaver 2004/05/11 11:42:21
Modified: components/prefs/src/java/META-INF Tag:
NANOCONTAINER_DEPLOYER ojb_repository.xml
Added: components/prefs/src/java/org/apache/jetspeed/prefs/impl
Tag: NANOCONTAINER_DEPLOYER
PropertyManagerImpl.groovy
PreferencesProviderImpl.groovy
components/prefs/src/java/META-INF Tag:
NANOCONTAINER_DEPLOYER component.pkg
Log:
- added component.pkg and groovy adapter script
- modified stand-alone repository file
Revision Changes Path
No revision
No revision
1.1.2.1 +31 -0
jakarta-jetspeed-2/components/prefs/src/java/org/apache/jetspeed/prefs/impl/Attic/PropertyManagerImpl.groovy
1.1.2.1 +29 -0
jakarta-jetspeed-2/components/prefs/src/java/org/apache/jetspeed/prefs/impl/Attic/PreferencesProviderImpl.groovy
No revision
No revision
1.1.2.2 +240 -239
jakarta-jetspeed-2/components/prefs/src/java/META-INF/Attic/ojb_repository.xml
Index: ojb_repository.xml
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/components/prefs/src/java/META-INF/Attic/ojb_repository.xml,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- ojb_repository.xml 22 Apr 2004 21:11:29 -0000 1.1.2.1
+++ ojb_repository.xml 11 May 2004 18:42:21 -0000 1.1.2.2
@@ -1,240 +1,241 @@
-<!--
-Copyright 2004 The Apache Software Foundation
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
-<!--
- - N O D E
--->
-<descriptor-repository version="1.0" isolation-level="read-uncommitted">
-<class-descriptor
- class="org.apache.jetspeed.prefs.om.impl.NodeImpl"
- table="PREFS_NODE"
->
- <documentation>Represents a preferences node.</documentation>
- <field-descriptor
- name="nodeId"
- column="NODE_ID"
- jdbc-type="INTEGER"
- primarykey="true"
- autoincrement="true"
- >
- </field-descriptor>
- <field-descriptor
- name="parentNodeId"
- column="PARENT_NODE_ID"
- jdbc-type="INTEGER"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="nodeName"
- column="NODE_NAME"
- jdbc-type="VARCHAR"
- nullable="false"
- length="100"
- >
- </field-descriptor>
- <field-descriptor
- name="nodeType"
- column="NODE_TYPE"
- jdbc-type="SMALLINT"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="fullPath"
- column="FULL_PATH"
- jdbc-type="VARCHAR"
- nullable="false"
- length="254"
- >
- </field-descriptor>
- <field-descriptor
- name="creationDate"
- column="CREATION_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="modifiedDate"
- column="MODIFIED_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <collection-descriptor
- name="nodeKeys"
- element-class-ref="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
- auto-retrieve="true"
- auto-delete="false"
- auto-update="true"
- indirection-table="PREFS_NODE_PROPERTY_KEY"
- >
- <documentation>This is the reference to the property keys allowed for that
node.</documentation>
- <fk-pointing-to-this-class column="NODE_ID"/>
- <fk-pointing-to-element-class column="PROPERTY_KEY_ID"/>
- </collection-descriptor>
- <collection-descriptor
- name="nodeProperties"
- element-class-ref="org.apache.jetspeed.prefs.om.impl.PropertyImpl"
- otm-dependent="true"
- >
- <documentation>This is the reference to a node properties.</documentation>
- <inverse-foreignkey field-ref="nodeId"/>
- </collection-descriptor>
-</class-descriptor>
-
-<!--
- - P R O P E R T Y K E Y
--->
-
-<class-descriptor
- class="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
- table="PREFS_PROPERTY_KEY"
->
- <documentation>Represents a property key.</documentation>
- <field-descriptor
- name="propertyKeyId"
- column="PROPERTY_KEY_ID"
- jdbc-type="INTEGER"
- primarykey="true"
- autoincrement="true"
- >
- </field-descriptor>
- <field-descriptor
- name="propertyKeyName"
- column="PROPERTY_NAME"
- jdbc-type="VARCHAR"
- nullable="false"
- length="100"
- >
- </field-descriptor>
- <field-descriptor
- name="propertyKeyType"
- column="PROPERTY_TYPE"
- jdbc-type="SMALLINT"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="creationDate"
- column="CREATION_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="modifiedDate"
- column="MODIFIED_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
-</class-descriptor>
-
-<!--
- - P R O P E R T Y
--->
-
-<class-descriptor
- class="org.apache.jetspeed.prefs.om.impl.PropertyImpl"
- table="PREFS_PROPERTY_VALUE"
->
- <documentation>Represents a property key/value pair.</documentation>
- <field-descriptor
- name="propertyValueId"
- column="PROPERTY_VALUE_ID"
- jdbc-type="INTEGER"
- primarykey="true"
- autoincrement="true"
- >
- </field-descriptor>
- <field-descriptor
- name="nodeId"
- column="NODE_ID"
- jdbc-type="INTEGER"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="propertyKeyId"
- column="PROPERTY_KEY_ID"
- jdbc-type="INTEGER"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="booleanPropertyValue"
- column="BOOLEAN_VALUE"
- jdbc-type="BIT"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="datePropertyValue"
- column="DATETIME_VALUE"
- jdbc-type="TIMESTAMP"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="longPropertyValue"
- column="LONG_VALUE"
- jdbc-type="INTEGER"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="doublePropertyValue"
- column="DOUBLE_VALUE"
- jdbc-type="DOUBLE"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="textPropertyValue"
- column="TEXT_VALUE"
- jdbc-type="VARCHAR"
- nullable="true"
- length="254"
- >
- </field-descriptor>
- <field-descriptor
- name="creationDate"
- column="CREATION_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="modifiedDate"
- column="MODIFIED_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <reference-descriptor
- name="propertyKey"
- class-ref="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
- refresh="true"
- auto-retrieve="true"
- auto-delete="false"
- auto-update="true"
- >
- <documentation>This is the reference to a property key.</documentation>
- <foreignkey field-ref="propertyKeyId"/>
- </reference-descriptor>
-</class-descriptor>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<!--
+ - N O D E
+-->
+
+<descriptor-repository version="1.0" isolation-level="read-uncommitted">
+<class-descriptor
+ class="org.apache.jetspeed.prefs.om.impl.NodeImpl"
+ table="PREFS_NODE"
+>
+ <documentation>Represents a preferences node.</documentation>
+ <field-descriptor
+ name="nodeId"
+ column="NODE_ID"
+ jdbc-type="INTEGER"
+ primarykey="true"
+ autoincrement="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="parentNodeId"
+ column="PARENT_NODE_ID"
+ jdbc-type="INTEGER"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="nodeName"
+ column="NODE_NAME"
+ jdbc-type="VARCHAR"
+ nullable="false"
+ length="100"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="nodeType"
+ column="NODE_TYPE"
+ jdbc-type="SMALLINT"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="fullPath"
+ column="FULL_PATH"
+ jdbc-type="VARCHAR"
+ nullable="false"
+ length="254"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="creationDate"
+ column="CREATION_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="modifiedDate"
+ column="MODIFIED_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <collection-descriptor
+ name="nodeKeys"
+ element-class-ref="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
+ auto-retrieve="true"
+ auto-delete="false"
+ auto-update="true"
+ indirection-table="PREFS_NODE_PROPERTY_KEY"
+ >
+ <documentation>This is the reference to the property keys allowed for that
node.</documentation>
+ <fk-pointing-to-this-class column="NODE_ID"/>
+ <fk-pointing-to-element-class column="PROPERTY_KEY_ID"/>
+ </collection-descriptor>
+ <collection-descriptor
+ name="nodeProperties"
+ element-class-ref="org.apache.jetspeed.prefs.om.impl.PropertyImpl"
+ otm-dependent="true"
+ >
+ <documentation>This is the reference to a node properties.</documentation>
+ <inverse-foreignkey field-ref="nodeId"/>
+ </collection-descriptor>
+</class-descriptor>
+
+<!--
+ - P R O P E R T Y K E Y
+-->
+
+<class-descriptor
+ class="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
+ table="PREFS_PROPERTY_KEY"
+>
+ <documentation>Represents a property key.</documentation>
+ <field-descriptor
+ name="propertyKeyId"
+ column="PROPERTY_KEY_ID"
+ jdbc-type="INTEGER"
+ primarykey="true"
+ autoincrement="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="propertyKeyName"
+ column="PROPERTY_NAME"
+ jdbc-type="VARCHAR"
+ nullable="false"
+ length="100"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="propertyKeyType"
+ column="PROPERTY_TYPE"
+ jdbc-type="SMALLINT"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="creationDate"
+ column="CREATION_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="modifiedDate"
+ column="MODIFIED_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+</class-descriptor>
+
+<!--
+ - P R O P E R T Y
+-->
+
+<class-descriptor
+ class="org.apache.jetspeed.prefs.om.impl.PropertyImpl"
+ table="PREFS_PROPERTY_VALUE"
+>
+ <documentation>Represents a property key/value pair.</documentation>
+ <field-descriptor
+ name="propertyValueId"
+ column="PROPERTY_VALUE_ID"
+ jdbc-type="INTEGER"
+ primarykey="true"
+ autoincrement="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="nodeId"
+ column="NODE_ID"
+ jdbc-type="INTEGER"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="propertyKeyId"
+ column="PROPERTY_KEY_ID"
+ jdbc-type="INTEGER"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="booleanPropertyValue"
+ column="BOOLEAN_VALUE"
+ jdbc-type="BIT"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="datePropertyValue"
+ column="DATETIME_VALUE"
+ jdbc-type="TIMESTAMP"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="longPropertyValue"
+ column="LONG_VALUE"
+ jdbc-type="INTEGER"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="doublePropertyValue"
+ column="DOUBLE_VALUE"
+ jdbc-type="DOUBLE"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="textPropertyValue"
+ column="TEXT_VALUE"
+ jdbc-type="VARCHAR"
+ nullable="true"
+ length="254"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="creationDate"
+ column="CREATION_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="modifiedDate"
+ column="MODIFIED_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <reference-descriptor
+ name="propertyKey"
+ class-ref="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
+ refresh="true"
+ auto-retrieve="true"
+ auto-delete="false"
+ auto-update="true"
+ >
+ <documentation>This is the reference to a property key.</documentation>
+ <foreignkey field-ref="propertyKeyId"/>
+ </reference-descriptor>
+</class-descriptor>
</descriptor-repository>
No revision
Index: ojb_repository.xml
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/components/prefs/src/java/META-INF/Attic/ojb_repository.xml,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- ojb_repository.xml 22 Apr 2004 21:11:29 -0000 1.1.2.1
+++ ojb_repository.xml 11 May 2004 18:42:21 -0000 1.1.2.2
@@ -1,240 +1,241 @@
-<!--
-Copyright 2004 The Apache Software Foundation
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
-<!--
- - N O D E
--->
-<descriptor-repository version="1.0" isolation-level="read-uncommitted">
-<class-descriptor
- class="org.apache.jetspeed.prefs.om.impl.NodeImpl"
- table="PREFS_NODE"
->
- <documentation>Represents a preferences node.</documentation>
- <field-descriptor
- name="nodeId"
- column="NODE_ID"
- jdbc-type="INTEGER"
- primarykey="true"
- autoincrement="true"
- >
- </field-descriptor>
- <field-descriptor
- name="parentNodeId"
- column="PARENT_NODE_ID"
- jdbc-type="INTEGER"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="nodeName"
- column="NODE_NAME"
- jdbc-type="VARCHAR"
- nullable="false"
- length="100"
- >
- </field-descriptor>
- <field-descriptor
- name="nodeType"
- column="NODE_TYPE"
- jdbc-type="SMALLINT"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="fullPath"
- column="FULL_PATH"
- jdbc-type="VARCHAR"
- nullable="false"
- length="254"
- >
- </field-descriptor>
- <field-descriptor
- name="creationDate"
- column="CREATION_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="modifiedDate"
- column="MODIFIED_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <collection-descriptor
- name="nodeKeys"
- element-class-ref="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
- auto-retrieve="true"
- auto-delete="false"
- auto-update="true"
- indirection-table="PREFS_NODE_PROPERTY_KEY"
- >
- <documentation>This is the reference to the property keys allowed for that
node.</documentation>
- <fk-pointing-to-this-class column="NODE_ID"/>
- <fk-pointing-to-element-class column="PROPERTY_KEY_ID"/>
- </collection-descriptor>
- <collection-descriptor
- name="nodeProperties"
- element-class-ref="org.apache.jetspeed.prefs.om.impl.PropertyImpl"
- otm-dependent="true"
- >
- <documentation>This is the reference to a node properties.</documentation>
- <inverse-foreignkey field-ref="nodeId"/>
- </collection-descriptor>
-</class-descriptor>
-
-<!--
- - P R O P E R T Y K E Y
--->
-
-<class-descriptor
- class="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
- table="PREFS_PROPERTY_KEY"
->
- <documentation>Represents a property key.</documentation>
- <field-descriptor
- name="propertyKeyId"
- column="PROPERTY_KEY_ID"
- jdbc-type="INTEGER"
- primarykey="true"
- autoincrement="true"
- >
- </field-descriptor>
- <field-descriptor
- name="propertyKeyName"
- column="PROPERTY_NAME"
- jdbc-type="VARCHAR"
- nullable="false"
- length="100"
- >
- </field-descriptor>
- <field-descriptor
- name="propertyKeyType"
- column="PROPERTY_TYPE"
- jdbc-type="SMALLINT"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="creationDate"
- column="CREATION_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="modifiedDate"
- column="MODIFIED_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
-</class-descriptor>
-
-<!--
- - P R O P E R T Y
--->
-
-<class-descriptor
- class="org.apache.jetspeed.prefs.om.impl.PropertyImpl"
- table="PREFS_PROPERTY_VALUE"
->
- <documentation>Represents a property key/value pair.</documentation>
- <field-descriptor
- name="propertyValueId"
- column="PROPERTY_VALUE_ID"
- jdbc-type="INTEGER"
- primarykey="true"
- autoincrement="true"
- >
- </field-descriptor>
- <field-descriptor
- name="nodeId"
- column="NODE_ID"
- jdbc-type="INTEGER"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="propertyKeyId"
- column="PROPERTY_KEY_ID"
- jdbc-type="INTEGER"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="booleanPropertyValue"
- column="BOOLEAN_VALUE"
- jdbc-type="BIT"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="datePropertyValue"
- column="DATETIME_VALUE"
- jdbc-type="TIMESTAMP"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="longPropertyValue"
- column="LONG_VALUE"
- jdbc-type="INTEGER"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="doublePropertyValue"
- column="DOUBLE_VALUE"
- jdbc-type="DOUBLE"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="textPropertyValue"
- column="TEXT_VALUE"
- jdbc-type="VARCHAR"
- nullable="true"
- length="254"
- >
- </field-descriptor>
- <field-descriptor
- name="creationDate"
- column="CREATION_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="modifiedDate"
- column="MODIFIED_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <reference-descriptor
- name="propertyKey"
- class-ref="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
- refresh="true"
- auto-retrieve="true"
- auto-delete="false"
- auto-update="true"
- >
- <documentation>This is the reference to a property key.</documentation>
- <foreignkey field-ref="propertyKeyId"/>
- </reference-descriptor>
-</class-descriptor>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<!--
+ - N O D E
+-->
+
+<descriptor-repository version="1.0" isolation-level="read-uncommitted">
+<class-descriptor
+ class="org.apache.jetspeed.prefs.om.impl.NodeImpl"
+ table="PREFS_NODE"
+>
+ <documentation>Represents a preferences node.</documentation>
+ <field-descriptor
+ name="nodeId"
+ column="NODE_ID"
+ jdbc-type="INTEGER"
+ primarykey="true"
+ autoincrement="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="parentNodeId"
+ column="PARENT_NODE_ID"
+ jdbc-type="INTEGER"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="nodeName"
+ column="NODE_NAME"
+ jdbc-type="VARCHAR"
+ nullable="false"
+ length="100"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="nodeType"
+ column="NODE_TYPE"
+ jdbc-type="SMALLINT"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="fullPath"
+ column="FULL_PATH"
+ jdbc-type="VARCHAR"
+ nullable="false"
+ length="254"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="creationDate"
+ column="CREATION_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="modifiedDate"
+ column="MODIFIED_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <collection-descriptor
+ name="nodeKeys"
+ element-class-ref="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
+ auto-retrieve="true"
+ auto-delete="false"
+ auto-update="true"
+ indirection-table="PREFS_NODE_PROPERTY_KEY"
+ >
+ <documentation>This is the reference to the property keys allowed for that
node.</documentation>
+ <fk-pointing-to-this-class column="NODE_ID"/>
+ <fk-pointing-to-element-class column="PROPERTY_KEY_ID"/>
+ </collection-descriptor>
+ <collection-descriptor
+ name="nodeProperties"
+ element-class-ref="org.apache.jetspeed.prefs.om.impl.PropertyImpl"
+ otm-dependent="true"
+ >
+ <documentation>This is the reference to a node properties.</documentation>
+ <inverse-foreignkey field-ref="nodeId"/>
+ </collection-descriptor>
+</class-descriptor>
+
+<!--
+ - P R O P E R T Y K E Y
+-->
+
+<class-descriptor
+ class="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
+ table="PREFS_PROPERTY_KEY"
+>
+ <documentation>Represents a property key.</documentation>
+ <field-descriptor
+ name="propertyKeyId"
+ column="PROPERTY_KEY_ID"
+ jdbc-type="INTEGER"
+ primarykey="true"
+ autoincrement="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="propertyKeyName"
+ column="PROPERTY_NAME"
+ jdbc-type="VARCHAR"
+ nullable="false"
+ length="100"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="propertyKeyType"
+ column="PROPERTY_TYPE"
+ jdbc-type="SMALLINT"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="creationDate"
+ column="CREATION_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="modifiedDate"
+ column="MODIFIED_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+</class-descriptor>
+
+<!--
+ - P R O P E R T Y
+-->
+
+<class-descriptor
+ class="org.apache.jetspeed.prefs.om.impl.PropertyImpl"
+ table="PREFS_PROPERTY_VALUE"
+>
+ <documentation>Represents a property key/value pair.</documentation>
+ <field-descriptor
+ name="propertyValueId"
+ column="PROPERTY_VALUE_ID"
+ jdbc-type="INTEGER"
+ primarykey="true"
+ autoincrement="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="nodeId"
+ column="NODE_ID"
+ jdbc-type="INTEGER"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="propertyKeyId"
+ column="PROPERTY_KEY_ID"
+ jdbc-type="INTEGER"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="booleanPropertyValue"
+ column="BOOLEAN_VALUE"
+ jdbc-type="BIT"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="datePropertyValue"
+ column="DATETIME_VALUE"
+ jdbc-type="TIMESTAMP"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="longPropertyValue"
+ column="LONG_VALUE"
+ jdbc-type="INTEGER"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="doublePropertyValue"
+ column="DOUBLE_VALUE"
+ jdbc-type="DOUBLE"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="textPropertyValue"
+ column="TEXT_VALUE"
+ jdbc-type="VARCHAR"
+ nullable="true"
+ length="254"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="creationDate"
+ column="CREATION_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="modifiedDate"
+ column="MODIFIED_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <reference-descriptor
+ name="propertyKey"
+ class-ref="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
+ refresh="true"
+ auto-retrieve="true"
+ auto-delete="false"
+ auto-update="true"
+ >
+ <documentation>This is the reference to a property key.</documentation>
+ <foreignkey field-ref="propertyKeyId"/>
+ </reference-descriptor>
+</class-descriptor>
</descriptor-repository>
No revision
Index: ojb_repository.xml
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/components/prefs/src/java/META-INF/Attic/ojb_repository.xml,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- ojb_repository.xml 22 Apr 2004 21:11:29 -0000 1.1.2.1
+++ ojb_repository.xml 11 May 2004 18:42:21 -0000 1.1.2.2
@@ -1,240 +1,241 @@
-<!--
-Copyright 2004 The Apache Software Foundation
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
-<!--
- - N O D E
--->
-<descriptor-repository version="1.0" isolation-level="read-uncommitted">
-<class-descriptor
- class="org.apache.jetspeed.prefs.om.impl.NodeImpl"
- table="PREFS_NODE"
->
- <documentation>Represents a preferences node.</documentation>
- <field-descriptor
- name="nodeId"
- column="NODE_ID"
- jdbc-type="INTEGER"
- primarykey="true"
- autoincrement="true"
- >
- </field-descriptor>
- <field-descriptor
- name="parentNodeId"
- column="PARENT_NODE_ID"
- jdbc-type="INTEGER"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="nodeName"
- column="NODE_NAME"
- jdbc-type="VARCHAR"
- nullable="false"
- length="100"
- >
- </field-descriptor>
- <field-descriptor
- name="nodeType"
- column="NODE_TYPE"
- jdbc-type="SMALLINT"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="fullPath"
- column="FULL_PATH"
- jdbc-type="VARCHAR"
- nullable="false"
- length="254"
- >
- </field-descriptor>
- <field-descriptor
- name="creationDate"
- column="CREATION_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="modifiedDate"
- column="MODIFIED_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <collection-descriptor
- name="nodeKeys"
- element-class-ref="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
- auto-retrieve="true"
- auto-delete="false"
- auto-update="true"
- indirection-table="PREFS_NODE_PROPERTY_KEY"
- >
- <documentation>This is the reference to the property keys allowed for that
node.</documentation>
- <fk-pointing-to-this-class column="NODE_ID"/>
- <fk-pointing-to-element-class column="PROPERTY_KEY_ID"/>
- </collection-descriptor>
- <collection-descriptor
- name="nodeProperties"
- element-class-ref="org.apache.jetspeed.prefs.om.impl.PropertyImpl"
- otm-dependent="true"
- >
- <documentation>This is the reference to a node properties.</documentation>
- <inverse-foreignkey field-ref="nodeId"/>
- </collection-descriptor>
-</class-descriptor>
-
-<!--
- - P R O P E R T Y K E Y
--->
-
-<class-descriptor
- class="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
- table="PREFS_PROPERTY_KEY"
->
- <documentation>Represents a property key.</documentation>
- <field-descriptor
- name="propertyKeyId"
- column="PROPERTY_KEY_ID"
- jdbc-type="INTEGER"
- primarykey="true"
- autoincrement="true"
- >
- </field-descriptor>
- <field-descriptor
- name="propertyKeyName"
- column="PROPERTY_NAME"
- jdbc-type="VARCHAR"
- nullable="false"
- length="100"
- >
- </field-descriptor>
- <field-descriptor
- name="propertyKeyType"
- column="PROPERTY_TYPE"
- jdbc-type="SMALLINT"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="creationDate"
- column="CREATION_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="modifiedDate"
- column="MODIFIED_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
-</class-descriptor>
-
-<!--
- - P R O P E R T Y
--->
-
-<class-descriptor
- class="org.apache.jetspeed.prefs.om.impl.PropertyImpl"
- table="PREFS_PROPERTY_VALUE"
->
- <documentation>Represents a property key/value pair.</documentation>
- <field-descriptor
- name="propertyValueId"
- column="PROPERTY_VALUE_ID"
- jdbc-type="INTEGER"
- primarykey="true"
- autoincrement="true"
- >
- </field-descriptor>
- <field-descriptor
- name="nodeId"
- column="NODE_ID"
- jdbc-type="INTEGER"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="propertyKeyId"
- column="PROPERTY_KEY_ID"
- jdbc-type="INTEGER"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="booleanPropertyValue"
- column="BOOLEAN_VALUE"
- jdbc-type="BIT"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="datePropertyValue"
- column="DATETIME_VALUE"
- jdbc-type="TIMESTAMP"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="longPropertyValue"
- column="LONG_VALUE"
- jdbc-type="INTEGER"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="doublePropertyValue"
- column="DOUBLE_VALUE"
- jdbc-type="DOUBLE"
- nullable="true"
- >
- </field-descriptor>
- <field-descriptor
- name="textPropertyValue"
- column="TEXT_VALUE"
- jdbc-type="VARCHAR"
- nullable="true"
- length="254"
- >
- </field-descriptor>
- <field-descriptor
- name="creationDate"
- column="CREATION_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <field-descriptor
- name="modifiedDate"
- column="MODIFIED_DATE"
- jdbc-type="TIMESTAMP"
- nullable="false"
- >
- </field-descriptor>
- <reference-descriptor
- name="propertyKey"
- class-ref="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
- refresh="true"
- auto-retrieve="true"
- auto-delete="false"
- auto-update="true"
- >
- <documentation>This is the reference to a property key.</documentation>
- <foreignkey field-ref="propertyKeyId"/>
- </reference-descriptor>
-</class-descriptor>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<!--
+ - N O D E
+-->
+
+<descriptor-repository version="1.0" isolation-level="read-uncommitted">
+<class-descriptor
+ class="org.apache.jetspeed.prefs.om.impl.NodeImpl"
+ table="PREFS_NODE"
+>
+ <documentation>Represents a preferences node.</documentation>
+ <field-descriptor
+ name="nodeId"
+ column="NODE_ID"
+ jdbc-type="INTEGER"
+ primarykey="true"
+ autoincrement="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="parentNodeId"
+ column="PARENT_NODE_ID"
+ jdbc-type="INTEGER"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="nodeName"
+ column="NODE_NAME"
+ jdbc-type="VARCHAR"
+ nullable="false"
+ length="100"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="nodeType"
+ column="NODE_TYPE"
+ jdbc-type="SMALLINT"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="fullPath"
+ column="FULL_PATH"
+ jdbc-type="VARCHAR"
+ nullable="false"
+ length="254"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="creationDate"
+ column="CREATION_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="modifiedDate"
+ column="MODIFIED_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <collection-descriptor
+ name="nodeKeys"
+ element-class-ref="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
+ auto-retrieve="true"
+ auto-delete="false"
+ auto-update="true"
+ indirection-table="PREFS_NODE_PROPERTY_KEY"
+ >
+ <documentation>This is the reference to the property keys allowed for that
node.</documentation>
+ <fk-pointing-to-this-class column="NODE_ID"/>
+ <fk-pointing-to-element-class column="PROPERTY_KEY_ID"/>
+ </collection-descriptor>
+ <collection-descriptor
+ name="nodeProperties"
+ element-class-ref="org.apache.jetspeed.prefs.om.impl.PropertyImpl"
+ otm-dependent="true"
+ >
+ <documentation>This is the reference to a node properties.</documentation>
+ <inverse-foreignkey field-ref="nodeId"/>
+ </collection-descriptor>
+</class-descriptor>
+
+<!--
+ - P R O P E R T Y K E Y
+-->
+
+<class-descriptor
+ class="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
+ table="PREFS_PROPERTY_KEY"
+>
+ <documentation>Represents a property key.</documentation>
+ <field-descriptor
+ name="propertyKeyId"
+ column="PROPERTY_KEY_ID"
+ jdbc-type="INTEGER"
+ primarykey="true"
+ autoincrement="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="propertyKeyName"
+ column="PROPERTY_NAME"
+ jdbc-type="VARCHAR"
+ nullable="false"
+ length="100"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="propertyKeyType"
+ column="PROPERTY_TYPE"
+ jdbc-type="SMALLINT"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="creationDate"
+ column="CREATION_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="modifiedDate"
+ column="MODIFIED_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+</class-descriptor>
+
+<!--
+ - P R O P E R T Y
+-->
+
+<class-descriptor
+ class="org.apache.jetspeed.prefs.om.impl.PropertyImpl"
+ table="PREFS_PROPERTY_VALUE"
+>
+ <documentation>Represents a property key/value pair.</documentation>
+ <field-descriptor
+ name="propertyValueId"
+ column="PROPERTY_VALUE_ID"
+ jdbc-type="INTEGER"
+ primarykey="true"
+ autoincrement="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="nodeId"
+ column="NODE_ID"
+ jdbc-type="INTEGER"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="propertyKeyId"
+ column="PROPERTY_KEY_ID"
+ jdbc-type="INTEGER"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="booleanPropertyValue"
+ column="BOOLEAN_VALUE"
+ jdbc-type="BIT"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="datePropertyValue"
+ column="DATETIME_VALUE"
+ jdbc-type="TIMESTAMP"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="longPropertyValue"
+ column="LONG_VALUE"
+ jdbc-type="INTEGER"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="doublePropertyValue"
+ column="DOUBLE_VALUE"
+ jdbc-type="DOUBLE"
+ nullable="true"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="textPropertyValue"
+ column="TEXT_VALUE"
+ jdbc-type="VARCHAR"
+ nullable="true"
+ length="254"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="creationDate"
+ column="CREATION_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <field-descriptor
+ name="modifiedDate"
+ column="MODIFIED_DATE"
+ jdbc-type="TIMESTAMP"
+ nullable="false"
+ >
+ </field-descriptor>
+ <reference-descriptor
+ name="propertyKey"
+ class-ref="org.apache.jetspeed.prefs.om.impl.PropertyKeyImpl"
+ refresh="true"
+ auto-retrieve="true"
+ auto-delete="false"
+ auto-update="true"
+ >
+ <documentation>This is the reference to a property key.</documentation>
+ <foreignkey field-ref="propertyKeyId"/>
+ </reference-descriptor>
+</class-descriptor>
</descriptor-repository>
1.1.2.1 +11 -0
jakarta-jetspeed-2/components/prefs/src/java/META-INF/Attic/component.pkg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]