Chapter 3. DOML file syntax

Table of Contents

Structure
Tag reference
<author>
<column>
<database>
<doml>
<index>
<indexColumn>
<initialValue>
<javadoc>
<package>
<projectname>
<referenceObject>
<table>
<type>
Sample DOML file
Sample of part of DOML file for using indexes

This section describes the syntax of DOML files, which are used by the Data Object Design Studio (DODS) to generate data access code for Enhydra applications.

Structure

The hierarchy of tags in a DOML file is:

<doml>
  <author/>
  <projectname/>
  <database>
    <package>
      <package>
        <package>
          <table>
            <column>
              <type/>
              <initialValue/>
            </column>
            <column>
              <type/>
            </column>
            <index>
              <indexColumn/>
            </index>
          </table>
        </package>
        <package>
          <table>
            <column>
              <type/>
              </column>
            <column>
              <javadoc/>
              <referenceObject/>
              <type/>
            </column>
            <column>
              <javadoc/>
              <type/>
            </column>
          </table>
        </package>
      </package>
    </package>
  </database>
</doml>