Project

General

Profile

1 14 jones
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2
<!--NewPage-->
3
<html>
4
<head>
5
<!-- Generated by javadoc on Fri Sep 24 03:23:03 CEST 1999 -->
6
<title>
7
  Class de.tudarmstadt.ito.xmldbms.RootClassMap
8
</title>
9
</head>
10
<body>
11
<a name="_top_"></a>
12
<pre>
13
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-de.tudarmstadt.ito.xmldbms.html">This Package</a>  <a href="de.tudarmstadt.ito.xmldbms.RelatedClassMap.html#_top_">Previous</a>  <a href="de.tudarmstadt.ito.xmldbms.RootTableMap.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
14
<hr>
15
<h1>
16
  Class de.tudarmstadt.ito.xmldbms.RootClassMap
17
</h1>
18
<pre>
19
java.lang.Object
20
   |
21
   +----<a href="de.tudarmstadt.ito.xmldbms.RelatedClassMap.html#_top_">de.tudarmstadt.ito.xmldbms.RelatedClassMap</a>
22
           |
23
           +----de.tudarmstadt.ito.xmldbms.RootClassMap
24
</pre>
25
<hr>
26
<dl>
27
  <dt> public class <b>RootClassMap</b>
28
  <dt> extends <a href="de.tudarmstadt.ito.xmldbms.RelatedClassMap.html#_top_">RelatedClassMap</a>
29
</dl>
30
Maps a root element type as a class; <A HREF="../readme.html#NotForUse">
31
 not for general use</A>.
32
 <P>RootClassMap is identical to RelatedClassMap, but is used differently
33
 and has a separate name to eliminate confusion in the code. It contains
34
 information about any element types mapped as classes with a type of
35
 TYPE_IGNOREROOT or TYPE_TOROOTTABLE. RootClassMaps are stored in a hash
36
 table in the Map class, indexed by element type name.</P>
37
 <P>For element types mapped as TYPE_TOROOTTABLE, RootClassMap provides the
38
 information needed to retrieve data from the table: the candidate key and
39
 order columns. In this case, linkInfo.parentKeyIsCandidate is always false
40
 and linkInfo.parentKey is always null. This is because a root table has no
41
 parent table. Note that for determining the location of the order column,
42
 linkInfo.parentKeyIsCandidate is ignored, as the order column, like the
43
 candidate key column, is always in the "child" (root) table.</P>
44
 <P>For element types mapped as TYPE_IGNOREROOT, only the classMap variable
45
 is used and only its type and subElementTypeMaps variables are used. The
46
 purpose is simply to provide a list of legal child element types; the
47
 RelatedClassMaps stored in subElementTypeMaps serve the same purpose as
48
 the RootClassMap when element types are mapped as TYPE_TOROOTTABLE (see
49
 above): to provide the candidate key and order columns used to access the
50
 "root" class table. If you find this confusing, you are correct.</P>
51
<p>
52
<hr>
53
<a name="index"></a>
54
<h2>
55
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
56
</h2>
57
<dl>
58
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
59
	<a href="#RootClassMap()"><b>RootClassMap</b></a>()
60
  <dd> Construct a RootClassMap.
61
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
62
	<a href="#RootClassMap(de.tudarmstadt.ito.xmldbms.RelatedClassMap)"><b>RootClassMap</b></a>(RelatedClassMap)
63
  <dd>  Construct a RootClassMap from a RelatedClassMap.
64
</dl>
65
<a name="constructors"></a>
66
<h2>
67
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
68
</h2>
69
<a name="RootClassMap"></a>
70
<a name="RootClassMap()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
71
<b>RootClassMap</b>
72
<pre>
73
 public RootClassMap()
74
</pre>
75
<dl>
76
  <dd> Construct a RootClassMap.
77
<p>
78
</dl>
79
<a name="RootClassMap(de.tudarmstadt.ito.xmldbms.RelatedClassMap)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
80
<b>RootClassMap</b>
81
<pre>
82
 public RootClassMap(<a href="de.tudarmstadt.ito.xmldbms.RelatedClassMap.html#_top_">RelatedClassMap</a> relatedClassMap)
83
</pre>
84
<dl>
85
  <dd> Construct a RootClassMap from a RelatedClassMap.
86
<p>
87
  <dd><dl>
88
    <dt> <b>Parameters:</b>
89
    <dd> relatedClassMap - The RelatedClassMap
90
  </dl></dd>
91
</dl>
92
<hr>
93
<pre>
94
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-de.tudarmstadt.ito.xmldbms.html">This Package</a>  <a href="de.tudarmstadt.ito.xmldbms.RelatedClassMap.html#_top_">Previous</a>  <a href="de.tudarmstadt.ito.xmldbms.RootTableMap.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
95
</body>
96
</html>