From 395fd1823eb359675d4e1a3f87682c85ae58f854 Mon Sep 17 00:00:00 2001 From: kelvingoodson Date: Wed, 8 Sep 2010 12:13:40 +0000 Subject: make sdo samples doc available git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@995011 13f79535-47bb-0310-9956-ffa450edef68 --- sandbox/kgoodson/sdo/sdosamples.html | 244 +++++++++++++++++++++++++++++++++++ 1 file changed, 244 insertions(+) create mode 100644 sandbox/kgoodson/sdo/sdosamples.html (limited to 'sandbox/kgoodson') diff --git a/sandbox/kgoodson/sdo/sdosamples.html b/sandbox/kgoodson/sdo/sdosamples.html new file mode 100644 index 0000000000..0ba6788b2d --- /dev/null +++ b/sandbox/kgoodson/sdo/sdosamples.html @@ -0,0 +1,244 @@ + + + + +SDO Samples +

SDO Samples

+

+The samples provided in the Tuscany SDO distribution cover many areas of +the SDO API. Here we provide two indexes into the samples. The first lists +each sample in sequence and details the central theme(s) of the sample. +It also mentions if the sample significantly demonstrates other areas in passing. +The second index lists all the themes that are covered by these samples, and +indicates which of the samples has that subject area as a central theme or as +demonstrates the subject area significant as an incidental part of the sample.

Index by Sample Program Name

+

Sample Program CreateCompany

+Core function:
+Set Properties of DataObject by name
+

Sample Program ReadPurchaseOrder

+Core function:
+Loading data from XML
+Saving data to XML
+
Also demonstrates:
+Get Properties of DataObject by name
+

Sample Program CreatePurchaseOrder

+Core function:
+Loading data from XML
+Saving data to XML
+

Sample Program AccessDataObjectPropertiesByName

+Core function:
+Get Properties of DataObject by name
+

Sample Program AccessingTheContentsOfASequence

+Core function:
+Accessing values in a Sequence
+

Sample Program AccessDataObjectUsingValidXPath

+Core function:
+Get/Set Properties of DataObject by Xpath
+

Sample Program DynamicCustomerTypeSample

+Core function:
+Create Types using the SDO API
+
Also demonstrates:
+Set Properties of DataObject by name
+Using Built-in Types
+Saving data to XML
+

Sample Program CreateCompanyTuscanyAPI

+Core function:
+Set Properties of DataObject by name
+

Sample Program CreateDataObjectFromXmlString

+Core function:
+Using Built-in Types
+Loading data from XML
+

Sample Program SerializingDeserializingADataObject

+Core function:
+Java Serialization of data graph
+
Also demonstrates:
+Testing for Graph Equality
+

Sample Program AccessingDataObjectsViaPropertyIndex

+Core function:
+Get/Set Properties of DataObject by index
+

Sample Program ObtainingDataGraphFromXml

+Core function:
+Wrapping data graph in a DataGraph instance
+
Also demonstrates:
+Using Built-in Types
+

Sample Program PrintDataGraph

+Core function:
+Generic data graph traversal
+
Also demonstrates:
+Get/Set Properties by Instance Properties
+isMany Properties
+Create Types using the SDO API
+Accessing values in a Sequence
+Non-Containment
+

Sample Program MedicalScenario

+Core function:
+Containment
+Create Types using the SDO API
+Create Types using XML Schema
+Open Content
+Non-Containment
+
Also demonstrates:
+Create DataObjects by name
+isMany Properties
+Generic data graph traversal
+Saving data to XML
+

Sample Program MedicalScenarioWithChangeMonitoring

+Core function:
+Containment
+Create Types using the SDO API
+Create Types using XML Schema
+Open Content
+Non-Containment
+Change Monitoring using a ChangeSummary Property on a DataObject
+
Also demonstrates:
+Create DataObjects by name
+isMany Properties
+Generic data graph traversal
+Saving data to XML
+

Index by function

+ +

+
+

Get Properties of DataObject by name

+Samples which demonstrate this as their core function
+AccessDataObjectPropertiesByName
+Samples which demonstrate this in addition to their core function
+ReadPurchaseOrder
+
+

Set Properties of DataObject by name

+Samples which demonstrate this as their core function
+CreateCompany
+CreateCompanyTuscanyAPI
+Samples which demonstrate this in addition to their core function
+DynamicCustomerTypeSample
+
+

Create DataObjects by name

+Samples which demonstrate this in addition to their core function
+MedicalScenario
+MedicalScenarioWithChangeMonitoring
+
+

Get/Set Properties of DataObject by index

+Samples which demonstrate this as their core function
+AccessingDataObjectsViaPropertyIndex
+
+

Get/Set Properties by Instance Properties

+Samples which demonstrate this in addition to their core function
+PrintDataGraph
+
+

Get/Set Properties of DataObject by Xpath

+Samples which demonstrate this as their core function
+AccessDataObjectUsingValidXPath
+
+

isMany Properties

+Samples which demonstrate this in addition to their core function
+MedicalScenario
+PrintDataGraph
+MedicalScenarioWithChangeMonitoring
+
+

Containment

+Samples which demonstrate this as their core function
+MedicalScenario
+MedicalScenarioWithChangeMonitoring
+
+

Create Types using the SDO API

+Samples which demonstrate this as their core function
+MedicalScenario
+DynamicCustomerTypeSample
+MedicalScenarioWithChangeMonitoring
+Samples which demonstrate this in addition to their core function
+PrintDataGraph
+
+

Create Types using XML Schema

+Samples which demonstrate this as their core function
+MedicalScenario
+MedicalScenarioWithChangeMonitoring
+
+

Create Types using the Tuscany API

+
+

Using Built-in Types

+Samples which demonstrate this as their core function
+CreateDataObjectFromXmlString
+Samples which demonstrate this in addition to their core function
+DynamicCustomerTypeSample
+ObtainingDataGraphFromXml
+
+

Accessing values in a Sequence

+Samples which demonstrate this as their core function
+AccessingTheContentsOfASequence
+Samples which demonstrate this in addition to their core function
+PrintDataGraph
+
+

Generic data graph traversal

+Samples which demonstrate this as their core function
+PrintDataGraph
+Samples which demonstrate this in addition to their core function
+MedicalScenario
+MedicalScenarioWithChangeMonitoring
+
+

Loading data from XML

+Samples which demonstrate this as their core function
+CreateDataObjectFromXmlString
+ReadPurchaseOrder
+CreatePurchaseOrder
+
+

Saving data to XML

+Samples which demonstrate this as their core function
+ReadPurchaseOrder
+CreatePurchaseOrder
+Samples which demonstrate this in addition to their core function
+MedicalScenario
+DynamicCustomerTypeSample
+MedicalScenarioWithChangeMonitoring
+
+

Change Monitoring using a DataGraph

+
+

Change Monitoring using a ChangeSummary Property on a DataObject

+Samples which demonstrate this as their core function
+MedicalScenarioWithChangeMonitoring
+
+

Wrapping data graph in a DataGraph instance

+Samples which demonstrate this as their core function
+ObtainingDataGraphFromXml
+
+

Open Content

+Samples which demonstrate this as their core function
+MedicalScenario
+MedicalScenarioWithChangeMonitoring
+
+

Non-Containment

+Samples which demonstrate this as their core function
+MedicalScenario
+MedicalScenarioWithChangeMonitoring
+Samples which demonstrate this in addition to their core function
+PrintDataGraph
+
+

Create XML Schema from Types

+
+

Java Serialization of data graph

+Samples which demonstrate this as their core function
+SerializingDeserializingADataObject
+
+

Testing for Graph Equality

+Samples which demonstrate this in addition to their core function
+SerializingDeserializingADataObject
+ + -- cgit v1.2.3