Update of /cvsroot/ooc/libpobj
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19343
Modified Files:
dictionary.dtd
Log Message:
Add attribute "role" to element "reference". Add
"runtimeFieldDefinitions" to "class".
Index: dictionary.dtd
===================================================================
RCS file: /cvsroot/ooc/libpobj/dictionary.dtd,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- dictionary.dtd 14 Jan 2007 20:15:55 -0000 1.82
+++ dictionary.dtd 15 Jan 2007 15:08:37 -0000 1.83
@@ -285,6 +285,12 @@
Recommendation: Always set this to "yes" if delete operations
on referenced tables must no trigger a full table scan on
this table.
+
+ `runtimeFieldDefinitions'
+
+ If "yes", then this table can have field definitions that are
+ taken at run-time from the current database contents. The
+ default is "no".
-->
<!ELEMENT class (description?, (idField|baseClass|primaryKey),
(field|join)*, pseudoField*, (unique|index|triggerConstraint)*)>
@@ -294,7 +300,8 @@
label CDATA #IMPLIED
visualField CDATA #IMPLIED
stablePrimaryKey (yes|no) "no"
- indexUnstableForeignKeys (yes|no) "no">
+ indexUnstableForeignKeys (yes|no) "no"
+ runtimeFieldDefinitions (yes|no) "no">
<!-- If the class is an extension, then this child element gives the
name of the base class. The base class's `extensible' flag must
@@ -841,6 +848,16 @@
"cascade", "setNull", and "setDefault". Note: Oracle does
not support "setNull" or "setDefault".
+ `role'
+
+ Specifies the semantics of the relationship between this
+ class and the referenced class. `master' means that the
+ referenced class is the master record, for which this table
+ provides further details. `detail' indicates, that the
+ referenced row should be considered a detail of this object.
+ `none' specifies an unqualified relationship, and it the
+ default.
+
`javaTypeClass'
The fully qualified name of the Java class that is used to
@@ -863,6 +880,7 @@
<!ATTLIST reference module CDATA #IMPLIED
target CDATA #REQUIRED
onDelete (restrict|cascade|setNull|setDefault) "restrict"
+ role (none|master|detail) "none"
javaTypeClass CDATA #IMPLIED>
<!-- Numeric type.
|