db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/xdocs repository.xml
Date Tue, 08 Jul 2003 22:46:41 GMT
arminw      2003/07/08 15:46:40

  Modified:    xdocs    repository.xml
  Log:
  make more readably
  update docu
  
  Revision  Changes    Path
  1.19      +75 -29    db-ojb/xdocs/repository.xml
  
  Index: repository.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/xdocs/repository.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- repository.xml	2 May 2003 12:24:32 -0000	1.18
  +++ repository.xml	8 Jul 2003 22:46:40 -0000	1.19
  @@ -9,7 +9,44 @@
   
   <body>
   
  -<section name="repository syntax">
  +<section name="OJB repository file">
  +<p>
  +
  +<ul>
  +    <li>
  +        <a href="#Introduction - repository syntax">Introduction - repository syntax</a>
  +    </li>
  +
  +    <li>
  +        <a href="#Repository semantics - descriptor-repository">Repository semantics
- descriptor-repository</a>
  +        <ul>
  +            <li><a href="#jdbc-connection-descriptor">jdbc-connection-descriptor</a></li>
  +            <ul>
  +                <li><a href="#connection-pool">connection-pool</a></li>
  +                <li><a href="#sequence-manager">sequence-manager</a></li>
  +            </ul>
  +            <li><a href="#custom attribute">custom attribute</a></li>
  +            <li><a href="#class-descriptor">class-descriptor</a></li>
  +            <ul>
  +                <li><a href="#extent-class">extent-class</a></li>
  +                <li><a href="#field-descriptor">field-descriptor</a></li>
  +                <li><a href="#reference-descriptor">reference-descriptor</a></li>
  +                <li><a href="#foreignkey">foreignkey</a></li>
  +                <li><a href="#collection-descriptor">collection-descriptor</a></li>
  +                <ul>
  +                    <li><a href="#inverse-foreignkey">inverse-foreignkey</a></li>
  +                    <li><a href="#fk-pointing-to-this-class">fk-pointing-to-this-class</a></li>
  +                    <li><a href="#fk-pointing-to-element-class">fk-pointing-to-element-class</a></li>
  +                </ul>
  +            </ul>
  +        </ul>
  +    </li>
  +    <li><a href="#the repository verifier">the repository verifier</a></li>
  +</ul>
  +</p>
  +</section>
  +
  +<section name="Introduction - repository syntax">
   <p>
   	The syntax of the OJB repository xml files is defined by the
   	<code>repository.dtd</code>.
  @@ -47,9 +84,9 @@
   
   </section>
   
  -<section name="repository semantics">
   
  -	<subsection name="descriptor-repository">
  +<section name="Repository semantics - descriptor-repository">
  +
   <p>
   	The descriptor-repository is the root element of a repository.xml file.
   	It consists of one jdbc-connection-descriptor and at least one
  @@ -88,7 +125,7 @@
   >
   ]]></source>
   
  -</subsection>
  +
   <subsection name="jdbc-connection-descriptor">
   <p>
   	The <code>jdbc-connection-descriptor</code> element specifies a jdbc
  @@ -323,6 +360,7 @@
   
   </subsection>
   
  +
   <subsection name="sequence-manager">
   <p>
   	The sequence-manager element specifies the sequence
  @@ -359,6 +397,31 @@
   
   </subsection>
   
  +
  +<subsection name="custom attribute">
  +<p>
  +  An attribute element allows arbitrary name/value pairs to
  +  be represented in the repository. See <a href="repository.dtd.txt">repository.dtd</a>
  +  to find elements with <code>attribute</code> support.
  +</p>
  +<source><![CDATA[
  +<!ELEMENT attribute EMPTY>
  +]]></source>
  +
  +<p>
  +	The attribute-name identifies the name of the attribute.
  +	<br/>
  +	The attribute-value identifies the value of the attribute.
  +</p>
  +<source><![CDATA[
  +<!ATTLIST attribute
  +	attribute-name CDATA #REQUIRED
  +	attribute-value CDATA #REQUIRED
  +>
  +]]></source>
  +</subsection>
  +
  +
   <subsection name="class-descriptor">
   <p>
   	For interfaces or abstract classes a <code>class-descriptor</code>
  @@ -416,7 +479,7 @@
   	The optional factory-method specifies a static no-argument method
   	that is to be used instead of a no argument constructor.<br/>
   	Important note: this feature is not yet implemented.
  -<br/><br/>	
  +<br/><br/>
   	The refresh attribute can be set to true to force OJB to refresh
   	instances when loaded from cache. It's set to false by default.
   </p>
  @@ -459,6 +522,9 @@
   ]]></source>
   
   </subsection>
  +
  +
  +
   <subsection name="field-descriptor">
   <p>
       A field descriptor contains mapping info for a primitive typed
  @@ -566,30 +632,6 @@
   
   </subsection>
   
  -<subsection name="attribute">
  -<p>
  -  An attribute element allows arbitrary name/value pairs to
  -  be represented in the repository.
  -</p>
  -<source><![CDATA[
  -<!ELEMENT attribute EMPTY>
  -]]></source>
  -
  -<p>
  -	The attribute-name identifies the name of the attribute.
  -	<br/>
  -	The attribute-value identifies the value of the attribute.
  -</p>
  -<source><![CDATA[
  -<!ATTLIST attribute
  -	attribute-name CDATA #REQUIRED
  -	attribute-value CDATA #REQUIRED
  ->
  -]]></source>
  -
  -</subsection>
  -
  -
   <subsection name="reference-descriptor">
   <p>
       A reference-descriptor contains mapping info for an attribute of a
  @@ -648,6 +690,7 @@
   >
   ]]></source>
   
  +
   </subsection>
   <subsection name="foreignkey">
   <p>
  @@ -832,6 +875,8 @@
   
   version:    0.9, 07/11/2002
   <br/>
  +<font color="#0000FF">Currently not up-to-date! Needs upgrade</font>
  +<br/>
   <subsection name="introduction" >
   <p>
   Object/Relational mapping tools can significantly decrease the time to
  @@ -854,6 +899,7 @@
   development time and testing effort.
   </p>
   </subsection>
  +
   
   <subsection name="Using the VerifyMappingsTask">
   <ol>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message