2014-09-05 07:44:07 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 08:48:51 +00:00
|
|
|
<!-- $Revision$ -->
|
2005-09-04 19:39:32 +00:00
|
|
|
|
2007-06-20 22:25:43 +00:00
|
|
|
<reference xml:id="ref.sdo" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
2007-12-26 14:57:57 +00:00
|
|
|
<title>SDO &Functions;</title>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2005-07-20 10:21:32 +00:00
|
|
|
<partintro>
|
2007-06-20 22:25:43 +00:00
|
|
|
<section xml:id="sdo.das.table">
|
2005-07-20 10:21:32 +00:00
|
|
|
<title>Data Access Services</title>
|
|
|
|
<para>
|
|
|
|
The table below lists the currently provided SDO Data Access Services:
|
|
|
|
<informaltable>
|
2011-09-30 14:21:51 +00:00
|
|
|
<tgroup cols="2">
|
2005-07-20 10:21:32 +00:00
|
|
|
<thead>
|
|
|
|
<row>
|
|
|
|
<entry>DAS Name</entry>
|
|
|
|
<entry>Description</entry>
|
|
|
|
</row>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<row>
|
|
|
|
<entry>
|
|
|
|
<link linkend="ref.sdo-das-xml">SDO_DAS_XML</link>
|
|
|
|
</entry>
|
|
|
|
<entry>
|
|
|
|
An XML Data Access Service supporting reading/writing
|
2006-03-24 15:46:38 +00:00
|
|
|
SDOs as XML documents.
|
2005-07-20 10:21:32 +00:00
|
|
|
</entry>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<entry>
|
2012-01-07 16:18:34 +00:00
|
|
|
<link linkend="ref.sdodasrel">SDO_DAS_Relational</link>
|
2005-07-20 10:21:32 +00:00
|
|
|
</entry>
|
|
|
|
<entry>
|
2005-07-21 09:27:10 +00:00
|
|
|
A PDO-based Data Access Service supporting reading/writing SDO
|
2006-03-24 15:46:38 +00:00
|
|
|
to relational databases.
|
2005-07-21 09:27:10 +00:00
|
|
|
Implements an optimistic concurrency policy for updates.
|
2005-07-20 10:21:32 +00:00
|
|
|
</entry>
|
|
|
|
</row>
|
|
|
|
</tbody>
|
|
|
|
</tgroup>
|
|
|
|
</informaltable>
|
|
|
|
</para>
|
|
|
|
</section>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2007-12-26 14:57:57 +00:00
|
|
|
<!-- FIXME: Everything below should be removed and follow our OO skeletons -->
|
2005-12-02 16:14:19 +00:00
|
|
|
|
2005-07-20 10:21:32 +00:00
|
|
|
<!-- class definition section -->
|
2011-09-30 14:21:51 +00:00
|
|
|
<section xml:id="sdo.classes">
|
2005-07-20 10:21:32 +00:00
|
|
|
&reftitle.classes;
|
|
|
|
<para>
|
2005-12-02 16:14:19 +00:00
|
|
|
SDO consists of three sets of interfaces. The first set covers those
|
|
|
|
interfaces for use by typical SDO applications. These are identified
|
|
|
|
by the package prefix 'SDO_'. The second set is those used to reflect
|
|
|
|
on, and work with, the model of a data object. These are identified
|
|
|
|
by the package prefix 'SDO_Model_'. Finally, the third set are those
|
|
|
|
use by Data Access Service implementations and are identified by the
|
|
|
|
package prefix 'SDO_DAS_'. The majority of SDO users will not need to
|
2006-01-13 14:42:06 +00:00
|
|
|
use or understand the 'SDO_Model_' and 'SDO_DAS_' interfaces.
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2011-09-30 14:21:51 +00:00
|
|
|
<section xml:id="sdo.class.sdo-apis">
|
2005-07-20 10:21:32 +00:00
|
|
|
<title>SDO Application Programmer Interface</title>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2012-01-08 07:19:12 +00:00
|
|
|
<section xml:id="class.sdo-dataobject">
|
2005-07-20 10:21:32 +00:00
|
|
|
<title>
|
|
|
|
<classname>SDO_DataObject</classname>
|
|
|
|
</title>
|
|
|
|
<para>
|
|
|
|
The main interface through which data objects are manipulated. In
|
|
|
|
addition to the methods below, SDO_DataObject extends the
|
2012-01-12 14:14:28 +00:00
|
|
|
ArrayAccess, SDO_PropertyAccess (defines <link linkend="object.get">__get()</link> /
|
|
|
|
<link linkend="object.set">__set()</link> methods for property access overloading),
|
2005-07-24 21:23:03 +00:00
|
|
|
Iterator, and Countable interfaces.
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
2012-01-08 07:19:12 +00:00
|
|
|
<section> &reftitle.methods;
|
2005-07-20 10:21:32 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-dataobject.getsequence">getSequence</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- get the sequence for the data object
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-dataobject.createdataobject">createDataObject</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- create a child data object
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-dataobject.clear">clear</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- unset the properties of a data object
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-dataobject.getcontainer">getContainer</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- get the container (also known as 'parent') of this data object
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
2006-02-24 18:36:41 +00:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-dataobject.gettypename">getTypeName</link>
|
2006-02-24 18:36:41 +00:00
|
|
|
- get the name of the type for this data object
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-dataobject.gettypenamespaceuri">getTypeNamespaceURI</link>
|
2006-02-24 18:36:41 +00:00
|
|
|
- get the namespace URI of the type for this data object
|
|
|
|
</para>
|
2005-07-20 10:21:32 +00:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2012-01-08 07:19:12 +00:00
|
|
|
<section xml:id="class.sdo-sequence">
|
2005-07-20 10:21:32 +00:00
|
|
|
<title>
|
|
|
|
<classname>SDO_Sequence</classname>
|
|
|
|
</title>
|
|
|
|
<para>
|
2005-07-28 19:45:25 +00:00
|
|
|
The interface through which sequenced data objects can be accessed
|
|
|
|
to preserve ordering across a data object's properties and
|
2005-07-21 09:27:10 +00:00
|
|
|
to allow unstructured text.
|
|
|
|
SDO_Sequence preserves contiguous indices and therefore inserting
|
2005-07-28 19:45:25 +00:00
|
|
|
or removing elements may shift other elements up or
|
2005-07-20 10:21:32 +00:00
|
|
|
down. In addition to the methods below, SDO_Sequence extends the
|
|
|
|
ArrayAccess, Iterator and Countable interface.
|
|
|
|
</para>
|
2012-01-08 07:19:12 +00:00
|
|
|
<section>
|
2005-07-20 10:21:32 +00:00
|
|
|
&reftitle.methods;
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-sequence.getproperty">getProperty</link>
|
2006-02-24 18:36:41 +00:00
|
|
|
- get the property for a given sequence index
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-sequence.move">move</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- move an element from one property index to another
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-sequence.insert">insert</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- insert a new value into the sequence
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2012-01-08 07:19:12 +00:00
|
|
|
<section xml:id="class.sdo-list">
|
2005-07-20 10:21:32 +00:00
|
|
|
<title>
|
|
|
|
<classname>SDO_List</classname>
|
|
|
|
</title>
|
|
|
|
<para>
|
|
|
|
The interface through which many-valued properties are manipulated.
|
|
|
|
In addition to the method defined below, SDO_List extends ArrayAccess,
|
2005-07-28 19:45:25 +00:00
|
|
|
Iterator and Countable. SDO_List preserves contiguous indices and
|
|
|
|
therefore inserting or removing elements may shift other elements
|
|
|
|
up or down.
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
2012-01-08 07:19:12 +00:00
|
|
|
<section>
|
2005-07-20 10:21:32 +00:00
|
|
|
&reftitle.methods;
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-list.insert">insert</link>
|
2005-07-24 21:23:03 +00:00
|
|
|
- insert a new value into the list
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2012-01-08 07:19:12 +00:00
|
|
|
<section xml:id="class.sdo-datafactory">
|
2005-07-20 10:21:32 +00:00
|
|
|
<title>
|
|
|
|
<classname>SDO_DataFactory</classname>
|
|
|
|
</title>
|
|
|
|
<para>
|
2005-07-21 09:27:10 +00:00
|
|
|
The interface through which data objects can be created.
|
|
|
|
A Data Access Service is responsible for populating the model
|
|
|
|
(i.e. configuring the data factory with the type and structure
|
|
|
|
information for the data objects it can create.)
|
|
|
|
for the factory and can then optionally return an instance of,
|
2005-07-24 21:23:03 +00:00
|
|
|
or implement, the SDO_DataFactory interface.
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
2012-01-08 07:19:12 +00:00
|
|
|
<section>
|
2005-07-20 10:21:32 +00:00
|
|
|
&reftitle.methods;
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-datafactory.create">create</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- create a new data object
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
2006-02-24 18:36:41 +00:00
|
|
|
|
2012-01-08 07:19:12 +00:00
|
|
|
<section xml:id="class.sdo-exception">
|
2006-02-24 18:36:41 +00:00
|
|
|
<title>
|
|
|
|
<classname>SDO_Exception</classname>
|
|
|
|
</title>
|
|
|
|
<para>
|
|
|
|
An SDO_Exception is thrown when the caller's request cannot be completed.
|
|
|
|
The subclasses of SDO_Exception are:
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>SDO_PropertyNotSetException -
|
|
|
|
the property specified exists but has not been set or does not have a
|
|
|
|
default value
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>SDO_PropertyNotFoundException -
|
|
|
|
the property specified is not part of the data object's type
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>SDO_TypeNotFoundException -
|
|
|
|
the specified namespace URI or type name is unknown
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>SDO_InvalidConversionException -
|
|
|
|
conversion between the types of the assignment is not possible
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>SDO_IndexOutOfBoundsException -
|
|
|
|
the numeric index into a data object, sequence or list is not in the
|
|
|
|
valid range
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>SDO_UnsupportedOperationException -
|
|
|
|
the request cannot be completed because it is not allowed,
|
|
|
|
for example an attempt to set a read-only property.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
2012-01-08 07:19:12 +00:00
|
|
|
<section> &reftitle.methods;
|
2006-02-24 18:36:41 +00:00
|
|
|
<para>One method is added to those inherited from the built in
|
2011-09-30 14:21:51 +00:00
|
|
|
<link linkend="language.exceptions.extending">Exception</link> class:
|
2006-02-24 18:36:41 +00:00
|
|
|
</para>
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-exception.getcause">getCause</link>
|
2006-02-24 18:36:41 +00:00
|
|
|
- get the cause of this SDO_Exception
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
2005-07-20 10:21:32 +00:00
|
|
|
</section>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2005-12-02 16:14:19 +00:00
|
|
|
|
|
|
|
|
2011-09-30 14:21:51 +00:00
|
|
|
<section xml:id="sdo.class.sdo-model-apis">
|
2005-12-02 16:14:19 +00:00
|
|
|
<title>SDO Reflection Application Programmer Interfaces</title>
|
|
|
|
|
2012-01-08 07:19:12 +00:00
|
|
|
<section xml:id="class.sdo-model-reflectiondataobject">
|
2005-12-02 16:14:19 +00:00
|
|
|
<title>
|
|
|
|
<classname>SDO_Model_ReflectionDataObject</classname>
|
|
|
|
</title>
|
|
|
|
<para>
|
|
|
|
The main interface used to reflect on a data object instance
|
|
|
|
to obtain its model type and property information.
|
|
|
|
It is designed to follow the reflection pattern introduced in PHP 5.
|
|
|
|
</para>
|
2012-01-08 07:19:12 +00:00
|
|
|
<section>
|
2006-02-24 18:36:41 +00:00
|
|
|
&reftitle.constructor;
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-reflectiondataobject.construct">__construct</link>
|
2006-02-24 18:36:41 +00:00
|
|
|
- construct a new SDO_Model_ReflectionDataObject.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
2012-01-08 07:19:12 +00:00
|
|
|
<section>
|
2005-12-02 16:14:19 +00:00
|
|
|
&reftitle.methods;
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-reflectiondataobject.export">export</link>
|
2006-02-24 18:36:41 +00:00
|
|
|
- get a string describing the data object.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-reflectiondataobject.gettype">getType</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- get the SDO_Model_Type for the data object.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
<link linkend=
|
2012-01-07 16:12:10 +00:00
|
|
|
'sdo-model-reflectiondataobject.getinstanceproperties'>getInstanceProperties</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- get the instance properties of the data object.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
<link linkend=
|
2012-01-07 16:12:10 +00:00
|
|
|
'sdo-model-reflectiondataobject.getcontainmentproperty'>getContainmentProperty</link>
|
2006-02-24 18:36:41 +00:00
|
|
|
- get the property which defines the containment relationship to the data object.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
2012-01-08 07:19:12 +00:00
|
|
|
<section xml:id="class.sdo-model-type">
|
2005-12-02 16:14:19 +00:00
|
|
|
<title>
|
|
|
|
<classname>SDO_Model_Type</classname>
|
|
|
|
</title>
|
|
|
|
<para>
|
|
|
|
The interface through which a data object's type information can be
|
|
|
|
retrieved. This interface can be used to find out the type name and
|
|
|
|
namespace URI of the type, whether the type allow open content, and so
|
|
|
|
on.
|
|
|
|
</para>
|
2012-01-08 07:19:12 +00:00
|
|
|
<section> &reftitle.methods;
|
2005-12-02 16:14:19 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-type.getname">getName</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- get the name of the type.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-type.getnamespaceuri">getNamespaceURI</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- get the namespace URI of the type.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-type.isinstance">isInstance</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- test for a data object being an instance of the type.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-type.getproperties">getProperties</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- get the properties of the type.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-type.getproperty">getProperty</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- get a property of the type.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-type.isdatatype">isDataType</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- test to see if this type is a primitive scalar type.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-type.issequencedtype">isSequencedType</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- test to see if this is a sequenced type.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-type.isopentype">isOpenType</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- test to see if this is an open type.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
2006-02-24 18:36:41 +00:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-type.isabstracttype">isAbstractType</link>
|
2006-02-24 18:36:41 +00:00
|
|
|
- test to see if this is an abstract type.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2005-12-02 16:14:19 +00:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-type.getbasetype">getBaseType</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- get the base type of this type (if one exists).
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
2012-01-08 07:19:12 +00:00
|
|
|
<section xml:id="class.sdo-model-property">
|
2005-12-02 16:14:19 +00:00
|
|
|
<title>
|
|
|
|
<classname>SDO_Model_Property</classname>
|
|
|
|
</title>
|
|
|
|
<para>
|
|
|
|
The interface through which a data object's property information can
|
|
|
|
be retrieved. This interface can be used to find out the type of a
|
|
|
|
property, whether a property has a default value, whether the
|
|
|
|
property is contained or reference by its parent, its cardinality,
|
|
|
|
and so on.
|
|
|
|
</para>
|
2012-01-08 07:19:12 +00:00
|
|
|
<section> &reftitle.methods;
|
2005-12-02 16:14:19 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-property.getname">getName</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- get the name of the property.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-property.gettype">getType</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- get the type of the property.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-property.ismany">isMany</link>
|
2006-01-13 14:42:06 +00:00
|
|
|
- test to see if the property is many-valued.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-property.iscontainment">isContainment</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- test to see if the property describes a containment relationship.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-property.getcontainingtype">getContainingType</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- get the type which contains this property.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-model-property.getdefault">getDefault</link>
|
2005-12-16 03:33:00 +00:00
|
|
|
- get the default value for a property.
|
2005-12-02 16:14:19 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
2011-09-30 14:21:51 +00:00
|
|
|
<section xml:id="sdo.class.sdo-das-spis">
|
2005-07-20 10:21:32 +00:00
|
|
|
<title>
|
|
|
|
SDO Data Access Service Developer Interfaces
|
|
|
|
</title>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2012-01-08 07:19:12 +00:00
|
|
|
<section xml:id="class.sdo-das-dataobject">
|
2005-07-20 10:21:32 +00:00
|
|
|
<title>
|
|
|
|
<classname>SDO_DAS_DataObject</classname>
|
|
|
|
</title>
|
|
|
|
<para>
|
2005-07-21 09:27:10 +00:00
|
|
|
The interface through which a Data Access Service can access
|
|
|
|
a data object's
|
2012-01-08 07:19:12 +00:00
|
|
|
<link linkend="class.sdo-das-changesummary">SDO_DAS_ChangeSummary</link>.
|
2005-07-21 09:27:10 +00:00
|
|
|
The change summary is used by the Data Access Service to check for
|
|
|
|
conflicts when applying changes back to a data source.
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
2012-01-08 07:19:12 +00:00
|
|
|
<section> &reftitle.methods;
|
2005-07-20 10:21:32 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-dataobject.getchangesummary">getChangeSummary</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- get the change summary for a data object
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2005-07-20 10:21:32 +00:00
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2012-01-08 07:19:12 +00:00
|
|
|
<section xml:id="class.sdo-das-changesummary">
|
2005-07-20 10:21:32 +00:00
|
|
|
<title>
|
|
|
|
<classname>SDO_DAS_ChangeSummary</classname>
|
|
|
|
</title>
|
|
|
|
<para>
|
|
|
|
The interface through which the change history of a data
|
|
|
|
object is accessed. The change summary holds information for any
|
|
|
|
modifications on a data object which occurred since logging
|
|
|
|
was activated. In the case of deletions and modifications, the old
|
|
|
|
values are also held in the change summary.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
If logging is no longer active
|
2005-07-28 19:45:25 +00:00
|
|
|
then the change summary only holds changes made up to the point when
|
2005-07-21 09:27:10 +00:00
|
|
|
logging was deactivated.
|
|
|
|
Reactivating logging clears the change summary.
|
2005-07-20 10:21:32 +00:00
|
|
|
This is useful when a set of changes have been written out by a
|
|
|
|
DAS and the data object is to be reused.
|
|
|
|
</para>
|
2012-01-08 07:19:12 +00:00
|
|
|
<section>
|
2005-07-20 10:21:32 +00:00
|
|
|
&reftitle.methods;
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-changesummary.beginlogging">beginLogging</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- begin logging changes made to a data object
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-changesummary.endlogging">endLogging</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- end logging changes made to a data object
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-changesummary.islogging">isLogging</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- test to see if change logging is on
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-changesummary.getchangeddataobjects">getChangedDataObjects</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- get a list of the data objects which have been changed
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-changesummary.getchangetype">getChangeType</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- get the type of change which has been made to a data object
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-changesummary.getoldvalues">getOldValues</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- get a list of old values for a data object
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-changesummary.getoldcontainer">getOldContainer</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- get the old container data object for a deleted data object
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2012-01-08 07:19:12 +00:00
|
|
|
<section xml:id="class.sdo-das-setting">
|
2005-07-20 10:21:32 +00:00
|
|
|
<title>
|
|
|
|
<classname>SDO_DAS_Setting</classname>
|
|
|
|
</title>
|
|
|
|
<para>
|
|
|
|
The interface through which the old value for a property is
|
|
|
|
accessed. A list of settings is returned by the change summary method
|
2012-01-13 02:24:30 +00:00
|
|
|
<link linkend="sdo-das-changesummary.getoldvalues">getOldValues</link>.
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
2012-01-08 07:19:12 +00:00
|
|
|
<section>
|
2005-07-20 10:21:32 +00:00
|
|
|
&reftitle.methods;
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-setting.getpropertyindex">getPropertyIndex</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- get the property index for the changed property
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-setting.getpropertyname">getPropertyName</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- get the property name for the changed property
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-setting.getvalue">getValue</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- get the old value for the changed property
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-setting.getlistindex">getListIndex</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- get the list index for the old value if it was part of a
|
|
|
|
many-valued property
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-setting.isset">isSet</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- test to see if the property was set prior to being modified
|
2005-12-16 03:33:00 +00:00
|
|
|
</para>
|
2005-07-20 10:21:32 +00:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
|
|
|
</section>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2012-01-08 07:19:12 +00:00
|
|
|
<section xml:id="class.sdo-das-datafactory">
|
2005-07-20 10:21:32 +00:00
|
|
|
<title>
|
|
|
|
<classname>SDO_DAS_DataFactory</classname>
|
|
|
|
</title>
|
|
|
|
<para>
|
|
|
|
The interface for constructing the model for an SDO_DataObject.
|
|
|
|
The SDO_DAS_DataFactory is an abstract class providing a static
|
|
|
|
method which returns a concrete data factory implementation.
|
2005-07-21 09:27:10 +00:00
|
|
|
The implementation is used by Data Access Services to create an
|
|
|
|
SDO model from their model.
|
2005-07-24 21:23:03 +00:00
|
|
|
For example, a Relational Data Access Service might create and populate
|
|
|
|
an SDO_DAS_DataFactory model based on a schema for a relational
|
|
|
|
database.
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
2012-01-08 07:19:12 +00:00
|
|
|
<section>
|
2005-07-24 21:23:03 +00:00
|
|
|
&reftitle.methods;
|
2005-07-20 10:21:32 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-datafactory.getdatafactory">getDataFactory</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- static methods for getting a concrete data factory instance
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-datafactory.addtype">addType</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- add a new type to the SDO model
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2012-01-07 16:12:10 +00:00
|
|
|
<link linkend="sdo-das-datafactory.addpropertytotype">addPropertyToType</link>
|
2005-07-21 09:27:10 +00:00
|
|
|
- add a new property to a type definition in the SDO model
|
2005-07-20 10:21:32 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
2005-07-18 20:42:58 +00:00
|
|
|
</section>
|
2005-07-20 10:21:32 +00:00
|
|
|
</section>
|
|
|
|
</section>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2005-07-20 10:21:32 +00:00
|
|
|
</partintro>
|
2005-07-18 20:42:58 +00:00
|
|
|
|
2012-01-07 16:12:10 +00:00
|
|
|
&reference.sdo.entities.sdo-das-changesummary;
|
|
|
|
&reference.sdo.entities.sdo-das-datafactory;
|
|
|
|
&reference.sdo.entities.sdo-das-dataobject;
|
|
|
|
&reference.sdo.entities.sdo-das-setting;
|
|
|
|
&reference.sdo.entities.sdo-datafactory;
|
|
|
|
&reference.sdo.entities.sdo-dataobject;
|
|
|
|
&reference.sdo.entities.sdo-exception;
|
|
|
|
&reference.sdo.entities.sdo-list;
|
|
|
|
&reference.sdo.entities.sdo-model-property;
|
|
|
|
&reference.sdo.entities.sdo-model-reflectiondataobject;
|
|
|
|
&reference.sdo.entities.sdo-model-type;
|
|
|
|
&reference.sdo.entities.sdo-sequence;
|
2005-07-18 20:42:58 +00:00
|
|
|
|
|
|
|
</reference>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2005-07-18 20:42:58 +00:00
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|