Table of Contents
Target Namespace
None
Element and Attribute Namespaces
Global element and attribute declarations belong to this schema's target namespace.
By default, local element declarations have no namespace.
By default, local attribute declarations have no namespace.
Documentation
Schema used to describe Mithra objects
Declared Namespaces
Prefix
Namespace
xml
http://www.w3.org/XML/1998/namespace
xsd
http://www.w3.org/2001/XMLSchema
Schema Component Representation
<
xsd:schema >
...
</
xsd:schema >
XML Instance Representation
<Mithra
generateInterfaces="
xsd :boolean [0..1] "
readOnlyInterfaces="
xsd :boolean [0..1] "
enableOffHeap="
xsd :boolean [0..1] " >
</Mithra>
XML Instance Representation
<MithraEmbeddedValueObject
initializePrimitivesToNull="
xsd :boolean [0..1] ? " >
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<Import>
xsd :token </Import>
[0..*] ?
<UpdateListener>
xsd :token </UpdateListener>
[0..1] ?
</MithraEmbeddedValueObject>
XML Instance Representation
<MithraEnumeration
initializePrimitivesToNull="
xsd :boolean [0..1] ? " >
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<Import>
xsd :token </Import>
[0..*] ?
<UpdateListener>
xsd :token </UpdateListener>
[0..1] ?
</MithraEnumeration>
XML Instance Representation
<MithraInterface>
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<SuperInterface>
xsd :token </SuperInterface>
[0..*] ?
<Import>
xsd :token </Import>
[0..*] ?
</MithraInterface>
XML Instance Representation
<MithraObject
initializePrimitivesToNull="
xsd :boolean [0..1] ? "
objectType="
ObjectType
[0..1] ? "
disableForeignKeys="
xsd :boolean [0..1] ? "
superClassType="
SuperClassType
[0..1] ? " >
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<Import>
xsd :token </Import>
[0..*] ?
<UpdateListener>
xsd :token </UpdateListener>
[0..1] ?
<DatedTransactionalTemporalDirector>
xsd :token </DatedTransactionalTemporalDirector>
[0..1] ?
<DefaultTable>
xsd :token </DefaultTable>
[0..1] ?
<MithraInterface>
xsd :token </MithraInterface>
[0..*] ?
</MithraObject>
XML Instance Representation
<MithraPureObject
initializePrimitivesToNull="
xsd :boolean [0..1] ? "
objectType="
ObjectType
[0..1] ? "
disableForeignKeys="
xsd :boolean [0..1] ? "
superClassType="
SuperClassType
[0..1] ? " >
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<Import>
xsd :token </Import>
[0..*] ?
<UpdateListener>
xsd :token </UpdateListener>
[0..1] ?
<DatedTransactionalTemporalDirector>
xsd :token </DatedTransactionalTemporalDirector>
[0..1] ?
</MithraPureObject>
XML Instance Representation
<MithraTempObject
initializePrimitivesToNull="
xsd :boolean [0..1] ? " >
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<Import>
xsd :token </Import>
[0..*] ?
<UpdateListener>
xsd :token </UpdateListener>
[0..1] ?
</MithraTempObject>
Super-types:
None
Sub-types:
None
Name
AsOfAttributeInterfaceType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] ? "
toIsInclusive="
xsd :boolean [0..1] ? "
infinityDate="
xsd :token [1] ? "
infinityIsNull="
xsd :boolean [0..1] ? "
isProcessingDate="
xsd :boolean [0..1] ? "
timezoneConversion="
TimezoneConversionType
[0..1] ? " />
Schema Component Representation
<
xsd:complexType name ="
AsOfAttributeInterfaceType ">
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
toIsInclusive "
type ="
xsd :boolean
"
default ="
true "/>
<
xsd:attribute name ="
infinityDate "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
infinityIsNull "
type ="
xsd :boolean
"
use ="
optional "
default ="
false "/>
<
xsd:attribute name ="
isProcessingDate "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:complexType >
Super-types:
None
Sub-types:
XML Instance Representation
<...
name="
xsd :token [1] ? "
toIsInclusive="
xsd :boolean [0..1] ? "
infinityDate="
xsd :token [1] ? "
infinityIsNull="
xsd :boolean [0..1] ? "
defaultIfNotSpecified="
xsd :token [0..1] ? "
futureExpiringRowsExist="
xsd :boolean [0..1] ? "
isProcessingDate="
xsd :boolean [0..1] ? "
timezoneConversion="
TimezoneConversionType
[0..1] ? "
timestampPrecision="
TimestampPrecisionType
[0..1] ? "
poolable="
xsd :boolean [0..1] ? "
finalGetter="
xsd :boolean [0..1] ? " >
</...>
Schema Component Representation
<
xsd:complexType name ="
AsOfAttributePureType ">
<
xsd:sequence >
<
xsd:element name ="
Property "
type ="
PropertyType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xsd:sequence >
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
toIsInclusive "
type ="
xsd :boolean
"
default ="
true "/>
<
xsd:attribute name ="
infinityDate "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
infinityIsNull "
type ="
xsd :boolean
"
use ="
optional "
default ="
false "/>
<
xsd:attribute name ="
defaultIfNotSpecified "
type ="
xsd :token
"/>
<
xsd:attribute name ="
futureExpiringRowsExist "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
isProcessingDate "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
poolable "
type ="
xsd :boolean
"
default ="
true "/>
<
xsd:attribute name ="
finalGetter "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:complexType >
XML Instance Representation
<...
name="
xsd :token [1] ? "
toIsInclusive="
xsd :boolean [0..1] ? "
infinityDate="
xsd :token [1] ? "
infinityIsNull="
xsd :boolean [0..1] ? "
defaultIfNotSpecified="
xsd :token [0..1] ? "
futureExpiringRowsExist="
xsd :boolean [0..1] ? "
isProcessingDate="
xsd :boolean [0..1] ? "
timezoneConversion="
TimezoneConversionType
[0..1] ? "
timestampPrecision="
TimestampPrecisionType
[0..1] ? "
poolable="
xsd :boolean [0..1] ? "
finalGetter="
xsd :boolean [0..1] ? "
fromColumnName="
xsd :token [1] ? "
toColumnName="
xsd :token [1] ? "
setAsString="
xsd :boolean [0..1] ? " >
</...>
Schema Component Representation
<
xsd:complexType name ="
AsOfAttributeType ">
<
xsd:complexContent >
<
xsd:extension base ="
AsOfAttributePureType
">
<
xsd:attribute name ="
fromColumnName "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
toColumnName "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
setAsString "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:extension >
</
xsd:complexContent >
</
xsd:complexType >
Super-types:
None
Sub-types:
None
Name
AttributeEmbeddedValueType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] ? "
javaType="
xsd :token [1] ? "
finalGetter="
xsd :boolean [0..1] ? " />
Schema Component Representation
<
xsd:complexType name ="
AttributeEmbeddedValueType ">
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
javaType "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
finalGetter "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...
name="
xsd :token [1] ? "
javaType="
xsd :token [1] ? " />
Schema Component Representation
<
xsd:complexType name ="
AttributeInterfaceType ">
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
javaType "
type ="
xsd :token
"
use ="
required "/>
</
xsd:complexType >
Super-types:
None
Sub-types:
Schema Component Representation
<
xsd:complexType name ="
AttributePureType ">
<
xsd:sequence >
<
xsd:element name ="
Property "
type ="
PropertyType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xsd:sequence >
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
javaType "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
primaryKey "
type ="
xsd :boolean
"/>
<
xsd:attribute name ="
identity "
type ="
xsd :boolean
"/>
<
xsd:attribute name ="
nullable "
type ="
xsd :boolean
"
default ="
true "/>
<
xsd:attribute name ="
defaultIfNull "
type ="
xsd :token
"/>
<
xsd:attribute name ="
mutablePrimaryKey "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
readonly "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
maxLength "
type ="
xsd :int
"/>
<
xsd:attribute name ="
modifyTimePrecisionOnSet "
type ="
TimePrecisionType
"
default ="
millisecond "/>
<
xsd:attribute name ="
truncate "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
inPlaceUpdate "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
precision "
type ="
xsd :int
"/>
<
xsd:attribute name ="
scale "
type ="
xsd :int
"/>
<
xsd:attribute name ="
finalGetter "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:complexType >
XML Instance Representation
<...
name="
xsd :token [1] ? "
javaType="
xsd :token [1] ? "
primaryKey="
xsd :boolean [0..1] ? "
identity="
xsd :boolean [0..1] ? "
primaryKeyGeneratorStrategy="
PrimaryKeyGeneratorStrategyType
[0..1] ? "
nullable="
xsd :boolean [0..1] ? "
defaultIfNull="
xsd :token [0..1] ? "
timezoneConversion="
TimezoneConversionType
[0..1] ? "
timestampPrecision="
TimestampPrecisionType
[0..1] ? "
mutablePrimaryKey="
xsd :boolean [0..1] ? "
readonly="
xsd :boolean [0..1] ? "
maxLength="
xsd :int [0..1] ? "
modifyTimePrecisionOnSet="
TimePrecisionType
[0..1] ? "
truncate="
xsd :boolean [0..1] ? "
inPlaceUpdate="
xsd :boolean [0..1] ? "
precision="
xsd :int [0..1] ? "
scale="
xsd :int [0..1] ? "
finalGetter="
xsd :boolean [0..1] ? "
columnName="
xsd :token [1] ? "
poolable="
xsd :boolean [0..1] ? "
trim="
xsd :boolean [0..1] ? "
useForOptimisticLocking="
xsd :boolean [0..1] ? "
setAsString="
xsd :boolean [0..1] ? " >
</...>
Schema Component Representation
<
xsd:complexType name ="
AttributeType ">
<
xsd:complexContent >
<
xsd:extension base ="
AttributePureType
">
<
xsd:attribute name ="
columnName "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
poolable "
type ="
xsd :boolean
"
default ="
true "/>
<
xsd:attribute name ="
trim "
type ="
xsd :boolean
"
default ="
true "/>
<
xsd:attribute name ="
useForOptimisticLocking "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
setAsString "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:extension >
</
xsd:complexContent >
</
xsd:complexType >
Super-types:
xsd :string < ComputedAttributeType (by extension)
Sub-types:
None
XML Instance Representation
<...
name="
xsd :token [1] ? "
javaType="
xsd :token [1] ? " >
xsd :string
</...>
Schema Component Representation
<
xsd:complexType name ="
ComputedAttributeType ">
<
xsd:simpleContent >
<
xsd:extension base ="
xsd :string
">
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
javaType "
type ="
xsd :token
"
use ="
required "/>
</
xsd:extension >
</
xsd:simpleContent >
</
xsd:complexType >
Super-types:
None
Sub-types:
None
Name
EmbeddedValueMappingType
Abstract
no
XML Instance Representation
<...
attribute="
xsd :token [1] ? "
underlyingAttribute="
xsd :token [0..1] ? "
columnName="
xsd :token [1] ? "
maxLength="
xsd :int [0..1] ? "
modifyTimePrecisionOnSet="
TimePrecisionType
[0..1] ? "
truncate="
xsd :boolean [0..1] ? "
primaryKey="
xsd :boolean [0..1] ? "
mutablePrimaryKey="
xsd :boolean [0..1] ? "
primaryKeyGeneratorStrategy="
PrimaryKeyGeneratorStrategyType
[0..1] ? "
identity="
xsd :boolean [0..1] ? "
nullable="
xsd :boolean [0..1] ? "
poolable="
xsd :boolean [0..1] ? "
defaultIfNull="
xsd :token [0..1] ? "
trim="
xsd :boolean [0..1] ? "
readonly="
xsd :boolean [0..1] ? "
timezoneConversion="
TimezoneConversionType
[0..1] ? "
timestampPrecision="
TimestampPrecisionType
[0..1] ? "
useForOptimisticLocking="
xsd :boolean [0..1] ? "
inPlaceUpdate="
xsd :boolean [0..1] ? "
precision="
xsd :int [0..1] ? "
scale="
xsd :int [0..1] ? "
finalGetter="
xsd :boolean [0..1] ? " >
</...>
Schema Component Representation
<
xsd:complexType name ="
EmbeddedValueMappingType ">
<
xsd:sequence >
</
xsd:sequence >
<
xsd:attribute name ="
attribute "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
underlyingAttribute "
type ="
xsd :token
"/>
<
xsd:attribute name ="
columnName "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
maxLength "
type ="
xsd :int
"/>
<
xsd:attribute name ="
modifyTimePrecisionOnSet "
type ="
TimePrecisionType
"
default ="
millisecond "/>
<
xsd:attribute name ="
truncate "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
primaryKey "
type ="
xsd :boolean
"/>
<
xsd:attribute name ="
mutablePrimaryKey "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
identity "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
nullable "
type ="
xsd :boolean
"
default ="
true "/>
<
xsd:attribute name ="
poolable "
type ="
xsd :boolean
"
default ="
true "/>
<
xsd:attribute name ="
defaultIfNull "
type ="
xsd :token
"/>
<
xsd:attribute name ="
trim "
type ="
xsd :boolean
"
default ="
true "/>
<
xsd:attribute name ="
readonly "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
useForOptimisticLocking "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
inPlaceUpdate "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
precision "
type ="
xsd :int
"/>
<
xsd:attribute name ="
scale "
type ="
xsd :int
"/>
<
xsd:attribute name ="
finalGetter "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:complexType >
XML Instance Representation
<...
name="
xsd :token [1] ? "
type="
xsd :token [1] ? "
finalGetter="
xsd :boolean [0..1] ? " >
</...>
Schema Component Representation
<
xsd:complexType name ="
EmbeddedValueType ">
<
xsd:complexContent >
<
xsd:extension base ="
NestedEmbeddedValueType
">
<
xsd:attribute name ="
type "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
finalGetter "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:extension >
</
xsd:complexContent >
</
xsd:complexType >
Super-types:
None
Sub-types:
None
Name
EnumerationAttributeType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] ? "
type="
xsd :token [1] ? "
persistenceType="
xsd :token [1] ? "
columnName="
xsd :token [1] ? "
nullable="
xsd :boolean [0..1] ? "
defaultIfNull="
xsd :token [0..1] ? "
readonly="
xsd :boolean [0..1] ? "
maxLength="
xsd :int [0..1] ? "
modifyTimePrecisionOnSet="
TimePrecisionType
[0..1] ? " >
</...>
Schema Component Representation
<
xsd:complexType name ="
EnumerationAttributeType ">
<
xsd:sequence >
</
xsd:sequence >
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
type "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
persistenceType "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
columnName "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
nullable "
type ="
xsd :boolean
"
default ="
true "/>
<
xsd:attribute name ="
defaultIfNull "
type ="
xsd :token
"/>
<
xsd:attribute name ="
readonly "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
maxLength "
type ="
xsd :int
"/>
<
xsd:attribute name ="
modifyTimePrecisionOnSet "
type ="
TimePrecisionType
"
default ="
millisecond "/>
</
xsd:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...
memberName="
xsd :token [1] ? "
databaseValue="
xsd :token [1] ? " />
Schema Component Representation
<
xsd:complexType name ="
EnumerationMappingType ">
<
xsd:attribute name ="
memberName "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
databaseValue "
type ="
xsd :token
"
use ="
required "/>
</
xsd:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...
name="
xsd :token [1] ? " />
Schema Component Representation
<
xsd:complexType name ="
EnumerationMemberType ">
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
</
xsd:complexType >
Super-types:
xsd :string < IndexType (by extension)
Sub-types:
None
XML Instance Representation
<...
name="
xsd :token [1] ? "
unique="
xsd :boolean [0..1] ? " >
xsd :string
</...>
Schema Component Representation
<
xsd:complexType name ="
IndexType ">
<
xsd:simpleContent >
<
xsd:extension base ="
xsd :string
">
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
unique "
type ="
xsd :boolean
"/>
</
xsd:extension >
</
xsd:simpleContent >
</
xsd:complexType >
Super-types:
None
Sub-types:
Name
MithraBaseObjectResourceType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] " />
Schema Component Representation
<
xsd:complexType name ="
MithraBaseObjectResourceType ">
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
</
xsd:complexType >
Super-types:
None
Sub-types:
XML Instance Representation
<...
initializePrimitivesToNull="
xsd :boolean [0..1] ? " >
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<Import>
xsd :token </Import>
[0..*] ?
<UpdateListener>
xsd :token </UpdateListener>
[0..1] ?
</...>
Schema Component Representation
<
xsd:complexType name ="
MithraBaseObjectType ">
<
xsd:sequence >
<
xsd:element name ="
PackageName "
type ="
xsd :token
"
minOccurs ="
1 "/>
<
xsd:element name ="
ClassName "
type ="
xsd :token
"
minOccurs ="
1 "/>
<
xsd:element name ="
Import "
type ="
xsd :token
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xsd:element name ="
UpdateListener "
type ="
xsd :token
"
minOccurs ="
0 "/>
</
xsd:sequence >
<
xsd:attribute name ="
initializePrimitivesToNull "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:complexType >
XML Instance Representation
<...
initializePrimitivesToNull="
xsd :boolean [0..1] ? "
objectType="
ObjectType
[0..1] ? "
disableForeignKeys="
xsd :boolean [0..1] ? "
superClassType="
SuperClassType
[0..1] ? " >
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<Import>
xsd :token </Import>
[0..*] ?
<UpdateListener>
xsd :token </UpdateListener>
[0..1] ?
<DatedTransactionalTemporalDirector>
xsd :token </DatedTransactionalTemporalDirector>
[0..1] ?
</...>
Schema Component Representation
<
xsd:complexType name ="
MithraCommonObjectType ">
<
xsd:complexContent >
<
xsd:extension base ="
MithraBaseObjectType
">
<
xsd:sequence >
<
xsd:element name ="
DatedTransactionalTemporalDirector "
type ="
xsd :token
"
minOccurs ="
0 "/>
</
xsd:sequence >
<
xsd:attribute name ="
objectType "
type ="
ObjectType
"
default ="
read-only "/>
<
xsd:attribute name ="
disableForeignKeys "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:extension >
</
xsd:complexContent >
</
xsd:complexType >
Name
MithraEmbeddedValueObjectResourceType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] " />
Schema Component Representation
<
xsd:complexType name ="
MithraEmbeddedValueObjectResourceType ">
<
xsd:complexContent >
</
xsd:complexContent >
</
xsd:complexType >
Name
MithraEmbeddedValueObjectType
Abstract
no
XML Instance Representation
<...
initializePrimitivesToNull="
xsd :boolean [0..1] ? " >
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<Import>
xsd :token </Import>
[0..*] ?
<UpdateListener>
xsd :token </UpdateListener>
[0..1] ?
</...>
Schema Component Representation
<
xsd:complexType name ="
MithraEmbeddedValueObjectType ">
<
xsd:complexContent >
<
xsd:extension base ="
MithraBaseObjectType
">
<
xsd:sequence >
<
xsd:element name ="
Relationship "
type ="
RelationshipType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xsd:sequence >
</
xsd:extension >
</
xsd:complexContent >
</
xsd:complexType >
Name
MithraEnumerationResourceType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] " />
Schema Component Representation
<
xsd:complexType name ="
MithraEnumerationResourceType ">
<
xsd:complexContent >
</
xsd:complexContent >
</
xsd:complexType >
XML Instance Representation
<...
initializePrimitivesToNull="
xsd :boolean [0..1] ? " >
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<Import>
xsd :token </Import>
[0..*] ?
<UpdateListener>
xsd :token </UpdateListener>
[0..1] ?
</...>
Schema Component Representation
<
xsd:complexType name ="
MithraEnumerationType ">
<
xsd:complexContent >
</
xsd:complexContent >
</
xsd:complexType >
Super-types:
None
Sub-types:
None
Name
MithraInterfaceResourceType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] "
readOnlyInterfaces="
xsd :boolean [0..1] " />
Schema Component Representation
<
xsd:complexType name ="
MithraInterfaceResourceType ">
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
readOnlyInterfaces "
type ="
xsd :boolean
"
use ="
optional "
default ="
false "/>
</
xsd:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<SuperInterface>
xsd :token </SuperInterface>
[0..*] ?
<Import>
xsd :token </Import>
[0..*] ?
</...>
Schema Component Representation
<
xsd:complexType name ="
MithraInterfaceType ">
<
xsd:sequence >
<
xsd:element name ="
PackageName "
type ="
xsd :token
"
minOccurs ="
1 "/>
<
xsd:element name ="
ClassName "
type ="
xsd :token
"
minOccurs ="
1 "/>
<
xsd:element name ="
SuperInterface "
type ="
xsd :token
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xsd:element name ="
Import "
type ="
xsd :token
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xsd:sequence >
</
xsd:complexType >
Name
MithraObjectResourceType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] "
replicated="
xsd :boolean [0..1] "
generateInterfaces="
xsd :boolean [0..1] "
readOnlyInterfaces="
xsd :boolean [0..1] "
enableOffHeap="
xsd :boolean [0..1] " />
Schema Component Representation
<
xsd:complexType name ="
MithraObjectResourceType ">
<
xsd:complexContent >
<
xsd:extension base ="
MithraBaseObjectResourceType
">
<
xsd:attribute name ="
replicated "
type ="
xsd :boolean
"
use ="
optional "
default ="
false "/>
<
xsd:attribute name ="
generateInterfaces "
type ="
xsd :boolean
"
use ="
optional "
default ="
false "/>
<
xsd:attribute name ="
readOnlyInterfaces "
type ="
xsd :boolean
"
use ="
optional "
default ="
false "/>
<
xsd:attribute name ="
enableOffHeap "
type ="
xsd :boolean
"
use ="
optional "
default ="
false "/>
</
xsd:extension >
</
xsd:complexContent >
</
xsd:complexType >
XML Instance Representation
<...
initializePrimitivesToNull="
xsd :boolean [0..1] ? "
objectType="
ObjectType
[0..1] ? "
disableForeignKeys="
xsd :boolean [0..1] ? "
superClassType="
SuperClassType
[0..1] ? " >
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<Import>
xsd :token </Import>
[0..*] ?
<UpdateListener>
xsd :token </UpdateListener>
[0..1] ?
<DatedTransactionalTemporalDirector>
xsd :token </DatedTransactionalTemporalDirector>
[0..1] ?
<DefaultTable>
xsd :token </DefaultTable>
[0..1] ?
<MithraInterface>
xsd :token </MithraInterface>
[0..*] ?
</...>
Schema Component Representation
<
xsd:complexType name ="
MithraObjectType ">
<
xsd:complexContent >
<
xsd:extension base ="
MithraCommonObjectType
">
<
xsd:sequence >
<
xsd:element name ="
DefaultTable "
type ="
xsd :token
"
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xsd:element name ="
MithraInterface "
type ="
xsd :token
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xsd:element name ="
AsOfAttribute "
type ="
AsOfAttributeType
"
minOccurs ="
0 "
maxOccurs ="
2 "/>
<
xsd:element name ="
Attribute "
type ="
AttributeType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xsd:element name ="
EmbeddedValue "
type ="
EmbeddedValueType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xsd:element name ="
Relationship "
type ="
RelationshipType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xsd:element name ="
Index "
type ="
IndexType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xsd:sequence >
</
xsd:extension >
</
xsd:complexContent >
</
xsd:complexType >
Name
MithraPureObjectResourceType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] "
enableOffHeap="
xsd :boolean [0..1] " />
Schema Component Representation
<
xsd:complexType name ="
MithraPureObjectResourceType ">
<
xsd:complexContent >
<
xsd:extension base ="
MithraBaseObjectResourceType
">
<
xsd:attribute name ="
enableOffHeap "
type ="
xsd :boolean
"
use ="
optional "
default ="
false "/>
</
xsd:extension >
</
xsd:complexContent >
</
xsd:complexType >
XML Instance Representation
<...
initializePrimitivesToNull="
xsd :boolean [0..1] ? "
objectType="
ObjectType
[0..1] ? "
disableForeignKeys="
xsd :boolean [0..1] ? "
superClassType="
SuperClassType
[0..1] ? " >
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<Import>
xsd :token </Import>
[0..*] ?
<UpdateListener>
xsd :token </UpdateListener>
[0..1] ?
<DatedTransactionalTemporalDirector>
xsd :token </DatedTransactionalTemporalDirector>
[0..1] ?
</...>
Schema Component Representation
<
xsd:complexType name ="
MithraPureObjectType ">
<
xsd:complexContent >
<
xsd:extension base ="
MithraCommonObjectType
">
<
xsd:sequence >
<
xsd:element name ="
Attribute "
type ="
AttributePureType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xsd:element name ="
Relationship "
type ="
RelationshipType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xsd:element name ="
Index "
type ="
IndexType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xsd:sequence >
</
xsd:extension >
</
xsd:complexContent >
</
xsd:complexType >
Name
MithraTempObjectResourceType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] " />
Schema Component Representation
<
xsd:complexType name ="
MithraTempObjectResourceType ">
<
xsd:complexContent >
</
xsd:complexContent >
</
xsd:complexType >
XML Instance Representation
<...
initializePrimitivesToNull="
xsd :boolean [0..1] ? " >
<PackageName>
xsd :token </PackageName>
[1] ?
<ClassName>
xsd :token </ClassName>
[1] ?
<Import>
xsd :token </Import>
[0..*] ?
<UpdateListener>
xsd :token </UpdateListener>
[0..1] ?
</...>
Schema Component Representation
<
xsd:complexType name ="
MithraTempObjectType ">
<
xsd:complexContent >
<
xsd:extension base ="
MithraBaseObjectType
">
<
xsd:sequence >
<
xsd:element name ="
Attribute "
type ="
AttributePureType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xsd:element name ="
Relationship "
type ="
RelationshipType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xsd:element name ="
Index "
type ="
IndexType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xsd:sequence >
</
xsd:extension >
</
xsd:complexContent >
</
xsd:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...
generateInterfaces="
xsd :boolean [0..1] "
readOnlyInterfaces="
xsd :boolean [0..1] "
enableOffHeap="
xsd :boolean [0..1] " >
</...>
Schema Component Representation
<
xsd:complexType name ="
MithraType ">
<
xsd:sequence >
</
xsd:sequence >
<
xsd:attribute name ="
generateInterfaces "
type ="
xsd :boolean
"
use ="
optional "
default ="
false "/>
<
xsd:attribute name ="
readOnlyInterfaces "
type ="
xsd :boolean
"
use ="
optional "
default ="
false "/>
<
xsd:attribute name ="
enableOffHeap "
type ="
xsd :boolean
"
use ="
optional "
default ="
false "/>
</
xsd:complexType >
Super-types:
None
Sub-types:
Name
NestedEmbeddedValueType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] ? "
finalGetter="
xsd :boolean [0..1] ? " >
</...>
Schema Component Representation
<
xsd:complexType name ="
NestedEmbeddedValueType ">
<
xsd:sequence >
</
xsd:sequence >
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
finalGetter "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...
key="
xsd :token [1] ? "
value="
xsd :token [0..1] ? " />
Schema Component Representation
<
xsd:complexType name ="
PropertyType ">
<
xsd:attribute name ="
key "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
value "
type ="
xsd :token
"
use ="
optional "/>
</
xsd:complexType >
Super-types:
None
Sub-types:
None
Name
ReferenceEmbeddedValueType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] ? "
type="
xsd :token [1] ? "
finalGetter="
xsd :boolean [0..1] ? " />
Schema Component Representation
<
xsd:complexType name ="
ReferenceEmbeddedValueType ">
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
type "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
finalGetter "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:complexType >
Super-types:
xsd :string < RelationshipInterfaceType (by extension)
Sub-types:
None
Name
RelationshipInterfaceType
Abstract
no
Schema Component Representation
<
xsd:complexType name ="
RelationshipInterfaceType ">
<
xsd:simpleContent >
<
xsd:extension base ="
xsd :string
">
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
relatedObject "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
cardinality "
type ="
CardinalityType
"
use ="
required "/>
<
xsd:attribute name ="
parameters "
type ="
xsd :token
"/>
</
xsd:extension >
</
xsd:simpleContent >
</
xsd:complexType >
Super-types:
xsd :string < RelationshipType (by extension)
Sub-types:
None
XML Instance Representation
<...
name="
xsd :token [1] ? "
reverseRelationshipName="
xsd :token [0..1] ? "
relatedObject="
xsd :token [1] ? "
relatedIsDependent="
xsd :boolean [0..1] ? "
cardinality="
CardinalityType
[1] ? "
orderBy="
xsd :token [0..1] ? "
parameters="
xsd :token [0..1] ? "
returnType="
xsd :token [0..1] ? "
foreignKey="
ForeignKeyType
[0..1] ? "
directReference="
xsd :boolean [0..1] ? "
finalGetter="
xsd :boolean [0..1] ? " >
xsd :string
</...>
Schema Component Representation
<
xsd:complexType name ="
RelationshipType ">
<
xsd:simpleContent >
<
xsd:extension base ="
xsd :string
">
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
reverseRelationshipName "
type ="
xsd :token
"/>
<
xsd:attribute name ="
relatedObject "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
relatedIsDependent "
type ="
xsd :boolean
"/>
<
xsd:attribute name ="
cardinality "
type ="
CardinalityType
"
use ="
required "/>
<
xsd:attribute name ="
orderBy "
type ="
xsd :token
"/>
<
xsd:attribute name ="
parameters "
type ="
xsd :token
"/>
<
xsd:attribute name ="
returnType "
type ="
xsd :token
"/>
<
xsd:attribute name ="
foreignKey "
type ="
ForeignKeyType
"
default ="
auto "/>
<
xsd:attribute name ="
directReference "
type ="
xsd :boolean
"
default ="
false "/>
<
xsd:attribute name ="
finalGetter "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:extension >
</
xsd:simpleContent >
</
xsd:complexType >
Super-types:
xsd :string < SimulatedSequenceType (by extension)
Sub-types:
None
XML Instance Representation
<...
sequenceName="
xsd :token [1] ? "
sequenceObjectFactoryName="
xsd :token [1] ? "
hasSourceAttribute="
xsd :boolean [0..1] ? "
batchSize="
xsd :int [0..1] ? "
initialValue="
xsd :int [0..1] ? "
incrementSize="
xsd :int [0..1] ? " >
xsd :string
</...>
Schema Component Representation
<
xsd:complexType name ="
SimulatedSequenceType ">
<
xsd:simpleContent >
<
xsd:extension base ="
xsd :string
">
<
xsd:attribute name ="
sequenceName "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
sequenceObjectFactoryName "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
hasSourceAttribute "
type ="
xsd :boolean
"/>
<
xsd:attribute name ="
batchSize "
type ="
xsd :int
"
default ="
10 "/>
<
xsd:attribute name ="
initialValue "
type ="
xsd :int
"
default ="
1 "/>
<
xsd:attribute name ="
incrementSize "
type ="
xsd :int
"
default ="
1 "/>
</
xsd:extension >
</
xsd:simpleContent >
</
xsd:complexType >
Super-types:
None
Sub-types:
None
Name
SourceAttributeInterfaceType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] ? "
javaType="
xsd :token [1] ? " />
Schema Component Representation
<
xsd:complexType name ="
SourceAttributeInterfaceType ">
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
javaType "
type ="
xsd :token
"
use ="
required "/>
</
xsd:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...
name="
xsd :token [1] ? "
javaType="
xsd :token [1] ? "
finalGetter="
xsd :boolean [0..1] ? " >
</...>
Schema Component Representation
<
xsd:complexType name ="
SourceAttributeType ">
<
xsd:sequence >
<
xsd:element name ="
Property "
type ="
PropertyType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xsd:sequence >
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
javaType "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
finalGetter "
type ="
xsd :boolean
"
default ="
false "/>
</
xsd:complexType >
Super-types:
xsd :string < SuperClassAttributeType (by extension)
Sub-types:
None
Name
SuperClassAttributeType
Abstract
no
XML Instance Representation
<...
name="
xsd :token [1] ? "
generated="
xsd :boolean [0..1] ? " >
xsd :string
</...>
Schema Component Representation
<
xsd:complexType name ="
SuperClassAttributeType ">
<
xsd:simpleContent >
<
xsd:extension base ="
xsd :string
">
<
xsd:attribute name ="
name "
type ="
xsd :token
"
use ="
required "/>
<
xsd:attribute name ="
generated "
type ="
xsd :boolean
"/>
</
xsd:extension >
</
xsd:simpleContent >
</
xsd:complexType >
Super-types:
xsd :token < TransactionalMethodSignatureType (by extension)
Sub-types:
None
Name
TransactionalMethodSignatureType
Abstract
no
XML Instance Representation
<...
parentImplements="
xsd :boolean [0..1] ? " >
xsd :token
</...>
Schema Component Representation
<
xsd:complexType name ="
TransactionalMethodSignatureType ">
<
xsd:simpleContent >
<
xsd:extension base ="
xsd :token
">
<
xsd:attribute name ="
parentImplements "
type ="
xsd :boolean
"/>
</
xsd:extension >
</
xsd:simpleContent >
</
xsd:complexType >
Super-types:
xsd :token < CardinalityType (by restriction)
Sub-types:
None
Name
CardinalityType
Content
value comes from list: {'one-to-many'|'many-to-many'|'one-to-one'|'many-to-one'}
Schema Component Representation
<
xsd:simpleType name ="
CardinalityType ">
<
xsd:restriction base ="
xsd :token
">
<xsd:enumeration value ="one-to-many "/>
<xsd:enumeration value ="many-to-many "/>
<xsd:enumeration value ="one-to-one "/>
<xsd:enumeration value ="many-to-one "/>
</
xsd:restriction >
</
xsd:simpleType >
Super-types:
xsd :token < ForeignKeyType (by restriction)
Sub-types:
None
Name
ForeignKeyType
Content
value comes from list: {'auto'|'false'}
Schema Component Representation
<
xsd:simpleType name ="
ForeignKeyType ">
<
xsd:restriction base ="
xsd :token
">
<xsd:enumeration value ="auto "/>
<xsd:enumeration value ="false "/>
</
xsd:restriction >
</
xsd:simpleType >
Super-types:
xsd :token < Identity (by restriction)
Sub-types:
None
Name
Identity
Content
value comes from list: {'true'}
Schema Component Representation
<
xsd:simpleType name ="
Identity ">
<
xsd:restriction base ="
xsd :token
">
<xsd:enumeration value ="true "/>
</
xsd:restriction >
</
xsd:simpleType >
Super-types:
xsd :token < ObjectType (by restriction)
Sub-types:
None
Name
ObjectType
Content
value comes from list: {'read-only'|'transactional'}
Schema Component Representation
<
xsd:simpleType name ="
ObjectType ">
<
xsd:restriction base ="
xsd :token
">
<xsd:enumeration value ="read-only "/>
<xsd:enumeration value ="transactional "/>
</
xsd:restriction >
</
xsd:simpleType >
Super-types:
xsd :token < PrimaryKeyGeneratorStrategyType (by restriction)
Sub-types:
None
Name
PrimaryKeyGeneratorStrategyType
Content
value comes from list: {'Max'|'SimulatedSequence'}
Schema Component Representation
<
xsd:simpleType name ="
PrimaryKeyGeneratorStrategyType ">
<
xsd:restriction base ="
xsd :token
">
<xsd:enumeration value ="Max "/>
<xsd:enumeration value ="SimulatedSequence "/>
</
xsd:restriction >
</
xsd:simpleType >
Super-types:
xsd :token < SuperClassType (by restriction)
Sub-types:
None
Name
SuperClassType
Content
value comes from list: {'table-per-subclass'|'table-for-all-subclasses'|'table-per-class'}
Schema Component Representation
<
xsd:simpleType name ="
SuperClassType ">
<
xsd:restriction base ="
xsd :token
">
<xsd:enumeration value ="table-per-subclass "/>
<xsd:enumeration value ="table-for-all-subclasses "/>
<xsd:enumeration value ="table-per-class "/>
</
xsd:restriction >
</
xsd:simpleType >
Super-types:
xsd :token < TimePrecisionType (by restriction)
Sub-types:
None
Name
TimePrecisionType
Content
value comes from list: {'millisecond'|'sybase'|'tenMillisecond'}
Documentation
Specifies the precision of the timestamp attributes used.
Schema Component Representation
<
xsd:simpleType name ="
TimePrecisionType ">
<
xsd:restriction base ="
xsd :token
">
<xsd:enumeration value ="millisecond "/>
<xsd:enumeration value ="sybase "/>
<xsd:enumeration value ="tenMillisecond "/>
</
xsd:restriction >
</
xsd:simpleType >
Super-types:
xsd :token < TimestampPrecisionType (by restriction)
Sub-types:
None
Name
TimestampPrecisionType
Content
value comes from list: {'nanosecond'|'millisecond'}
Documentation
Specifies the precision of the timestamp attributes used.
Schema Component Representation
<
xsd:simpleType name ="
TimestampPrecisionType ">
<
xsd:restriction base ="
xsd :token
">
<xsd:enumeration value ="nanosecond "/>
<xsd:enumeration value ="millisecond "/>
</
xsd:restriction >
</
xsd:simpleType >
Super-types:
xsd :token < TimezoneConversionType (by restriction)
Sub-types:
None
Name
TimezoneConversionType
Content
value comes from list: {'none'|'convert-to-utc'|'convert-to-database-timezone'}
Documentation
Timezone conversion can be difficult to understand because of inherent incompatibilty of
how databases typically store dates and how java handles dates. Most databases store
dates with no notion of timezone. You can think of a database date as a
(year,month,day,hour,minute,second) combination. In java, however, time is stored
as a long value in the UTC timezone. What causes confusin is java's support for timezones.
Even though java really stores time in a single timezone (UTC), it can display
the value for any timezone. You must trust that Mithra will do any necessary conversion.
Therefore, you must not perform any conversion. Write your code as if there is only
one timezone in the universe.
Schema Component Representation
<
xsd:simpleType name ="
TimezoneConversionType ">
<
xsd:restriction base ="
xsd :token
">
<xsd:enumeration value ="none "/>
<xsd:enumeration value ="convert-to-utc "/>
<xsd:enumeration value ="convert-to-database-timezone "/>
</
xsd:restriction >
</
xsd:simpleType >
Complex Type:
Schema Component Type
AusAddress
Schema Component Name
Super-types:
Address < AusAddress (by extension)
Sub-types:
QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
The table above displays the properties of this schema component.
XML Instance Representation
<...
country="Australia "
>
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice
[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]
?
</...>
The XML Instance Representation table above shows the schema component's content as an XML instance.
The minimum and maximum occurrence of elements and attributes are provided in square brackets, e.g. [0..1].
Model group information are shown in gray, e.g. Start Choice ... End Choice.
For type derivations, the elements and attributes that have been added to or changed from the base type's content are shown in bold .
If an element/attribute has a fixed value, the fixed value is shown in green, e.g. country="Australia".
Otherwise, the type of the element/attribute is displayed.
If the element/attribute's type is in the schema, a link is provided to it.
For local simple type definitions, the constraints are displayed in angle brackets, e.g. <<pattern = [1-9][0-9]{3}>>.
If a local element/attribute has documentation, it will be displayed in a window that pops up when the question mark inside the attribute or next to the element is clicked, e.g. <postcode>.
Schema Component Representation
<complexType
name ="AusAddress ">
<complexContent >
<extension
base ="
Address
">
<sequence >
<element
name ="state " type ="
AusStates
"/>
<element
name ="postcode ">
<simpleType >
<restriction
base ="
string
">
<pattern
value ="[1-9][0-9]{3} "/>
</restriction >
</simpleType >
</element >
</sequence >
<attribute
name ="country " type ="
string
" fixed ="Australia "/>
</extension >
</complexContent >
</complexType >
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.
All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all .
Choice Model Group
Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice .
Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.
Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods , e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type
attribute.
Key Constraint Like Uniqueness Constraint , but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions .
Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint . See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions .
Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups .
Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil
attribute. The xsi:nil
attribute is the boolean attribute, nil , from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil
attribute set to true, it can be left empty, even though its element declaration may have required content.
Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations .
Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.
Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.
Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.
Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).
Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence .
Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.
Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.
Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.
Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions .