All Downloads are FREE. Search and download functionalities are using the official Maven repository.

JETSPEED-INF.ojb.prefs_repository.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.  See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You 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.
-->

<descriptor-repository version="1.0">

	<!--
	   - N O D E
	-->	
	<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="BIGINT"
        	primarykey="true"
	        autoincrement="true"
	    >
	    </field-descriptor>
	    <field-descriptor
	        name="parentNodeId"
	        column="PARENT_NODE_ID"
	        jdbc-type="BIGINT"
	        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="nodeProperties"
	        element-class-ref="org.apache.jetspeed.prefs.om.impl.PropertyImpl"
	        auto-retrieve="true"
	        auto-update="true"
	        auto-delete="true"
	        refresh="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
	-->	
	
	<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="BIGINT"
	        primarykey="true"
	        autoincrement="true"
	    >
	    </field-descriptor>
	    <field-descriptor
	        name="nodeId"
	        column="NODE_ID"
	        jdbc-type="BIGINT"
	        nullable="false"
	    >
	    </field-descriptor>
        <field-descriptor
	        name="propertyName"
	        column="PROPERTY_NAME"
	        jdbc-type="VARCHAR"
	        nullable="false"
	        length="100"
	    >
	    </field-descriptor>
	    <field-descriptor
	        name="propertyValue"
	        column="PROPERTY_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>
	</class-descriptor>
	
</descriptor-repository>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy