diff options
Diffstat (limited to 'branches/java-post-M1/spec/sdo/src/main/resources/xml/sdoModel.xml')
-rw-r--r-- | branches/java-post-M1/spec/sdo/src/main/resources/xml/sdoModel.xml | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/branches/java-post-M1/spec/sdo/src/main/resources/xml/sdoModel.xml b/branches/java-post-M1/spec/sdo/src/main/resources/xml/sdoModel.xml new file mode 100644 index 0000000000..fcd1a4e283 --- /dev/null +++ b/branches/java-post-M1/spec/sdo/src/main/resources/xml/sdoModel.xml @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +/** + * <copyright> + * + * Service Data Objects + * Version 2.0 + * Licensed Materials - Property of BEA and IBM + * + * (c) Copyright BEA Systems, Inc. and International Business Machines Corp 2005. All rights reserved. + * + * </copyright> + * + */ +--> + +<types xmlns="commonj.sdo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:sdoJava="commonj.sdo/java" + xsi:schemaLocation="commonj.sdo sdoModel.xsd commonj.sdo/java sdoJava.xsd commonj.sdo/xml sdoXML.xsd"> + +<!-- Model Types + SDO Type and Property are defined in terms of themselves. +--> + + <type name="Type" open="true" uri="commonj.sdo"> + <property name="baseType" type="#Type" many="true"/> + <property name="property" type="#Property" containment="true" many="true"/> + <property name="aliasName" type="#String" many="true"/> + <property name="name" type="#String"/> + <property name="uri" type="#String"/> + <property name="dataType" type="#Boolean"/> + <property name="open" type="#Boolean"/> + <property name="sequenced" type="#Boolean"/> + <property name="abstract" type="#Boolean"/> + </type> + + <type name="Property" open="true" uri="commonj.sdo"> + <property name="aliasName" type="#String" many="true"/> + <property name="name" type="#String"/> + <property name="many" type="#Boolean"/> + <property name="containment" type="#Boolean"/> + <property name="type" type="#Type" /> + <property name="default" type="#String"/> + <property name="readOnly" type="#Boolean"/> + <property name="opposite" type="#Property"/> + </type> + + <!-- SDO special types --> + + <type name="DataObject" abstract="true" sdoJava:instanceClass="commonj.sdo.DataObject" uri="commonj.sdo"/> + <type name="ObjectType" abstract="true" datatype="true" sdoJava:instanceClass="java.lang.Object" uri="commonj.sdo"/> + <type name="ChangeSummaryType" abstract="true" datatype="true" sdoJava:instanceClass="commonj.sdo.ChangeSummary" uri="commonj.sdo"/> + + <type name="TextType" abstract="true"> + <property name="text" type="#String" many="true"/> + </type> + + <!-- SDO data types --> + + <type name="Boolean" datatype="true" sdoJava:instanceClass="boolean" uri="commonj.sdo"/> + <type name="Byte" datatype="true" sdoJava:instanceClass="byte" uri="commonj.sdo"/> + <type name="Bytes" datatype="true" sdoJava:instanceClass="byte[]" uri="commonj.sdo"/> + <type name="Character" datatype="true" sdoJava:instanceClass="char" uri="commonj.sdo"/> + <type name="Date" datatype="true" sdoJava:instanceClass="java.util.Date" uri="commonj.sdo"/> + <type name="DateTime" datatype="true" sdoJava:instanceClass="java.lang.String" uri="commonj.sdo"/> + <type name="Day" datatype="true" sdoJava:instanceClass="java.lang.String" uri="commonj.sdo"/> + <type name="Decimal" datatype="true" sdoJava:instanceClass="java.math.BigDecimal" uri="commonj.sdo"/> + <type name="Duration" datatype="true" sdoJava:instanceClass="java.lang.String" uri="commonj.sdo"/> + <type name="Double" datatype="true" sdoJava:instanceClass="double" uri="commonj.sdo"/> + <type name="Float" datatype="true" sdoJava:instanceClass="float" uri="commonj.sdo"/> + <type name="Int" datatype="true" sdoJava:instanceClass="int" uri="commonj.sdo"/> + <type name="Integer" datatype="true" sdoJava:instanceClass="java.math.BigInteger" uri="commonj.sdo"/> + <type name="Long" datatype="true" sdoJava:instanceClass="long" uri="commonj.sdo"/> + <type name="MonthDay" datatype="true" sdoJava:instanceClass="java.lang.String" uri="commonj.sdo"/> + <type name="Month" datatype="true" sdoJava:instanceClass="java.lang.String" uri="commonj.sdo"/> + <type name="Short" datatype="true" sdoJava:instanceClass="short" uri="commonj.sdo"/> + <type name="String" datatype="true" sdoJava:instanceClass="java.lang.String" uri="commonj.sdo"/> + <type name="Strings" datatype="true" sdoJava:instanceClass="java.util.List" uri="commonj.sdo"/> + <type name="Time" datatype="true" sdoJava:instanceClass="java.lang.String" uri="commonj.sdo"/> + <type name="Year" datatype="true" sdoJava:instanceClass="java.lang.String" uri="commonj.sdo"/> + <type name="YearMonth" datatype="true" sdoJava:instanceClass="java.lang.String" uri="commonj.sdo"/> + <type name="YearMonthDay" datatype="true" sdoJava:instanceClass="java.lang.String" uri="commonj.sdo"/> + <type name="URI" datatype="true" sdoJava:instanceClass="java.lang.String" uri="commonj.sdo"/> + +</types> |