05-30-2014 12:26 PM
<xs:complexType name="property">
…
<xs:element name="mandatory" maxOccurs="1" minOccurs="0" type="dd:mandatoryDef" />
…
</xs:complexType>
<xs:complexType name="propertyOverride">
…
<xs:element name="mandatory" maxOccurs="1" minOccurs="0" type="xs:boolean" />
…
</xs:complexType>
05-30-2014 12:52 PM
<types>
<type name="foo:parent">
…
<properties>
<property name="foo:documentDate">
<type>d:date</type>
<mandatory enforced="true">false</mandatory>
<multiple>false</multiple>
</property>
</properties>
</type>
<!– Rechnung –>
<type name="foo:child">
…
<overrides>
<property name="foo:documentDate">
<mandatory>true</mandatory>
</property>
</overrides>
</type>
</types>
<types>
<type name="foo:parent">
…
<properties>
<property name="foo:documentDate">
<type>d:date</type>
<mandatory enforced="false">false</mandatory>
<multiple>false</multiple>
</property>
</properties>
</type>
<!– Rechnung –>
<type name="foo:child">
…
<overrides>
<property name="foo:documentDate">
<mandatory>true</mandatory>
</property>
</overrides>
</type>
</types>
05-31-2014 04:25 AM
mandatory to false
it would be useless to set mandatory enforced to true
.So under normal circumstances we will not define our model like that enforced="true"
will be inherited by child type,plus child type 's own <mandatory>true</mandatory>
.combine the two give you
<overrides>
<property name="foo:documentDate">
<mandatory enforced="true">true</mandatory>
</property>
</overrides>
<overrides>
<property name="foo:documentDate">
<mandatory enforced="false">true</mandatory>
</property>
</overrides>
05-31-2014 04:26 AM
mandatory to false
it would be useless to set mandatory enforced to true
.So under normal circumstances we will not define our model like that enforced="true"
will be inherited by child type,plus child type 's own <mandatory>true</mandatory>
.combine the two give you
<overrides>
<property name="foo:documentDate">
<mandatory enforced="true">true</mandatory>
</property>
</overrides>
<overrides>
<property name="foo:documentDate">
<mandatory enforced="false">true</mandatory>
</property>
</overrides>
06-03-2014 01:24 PM
parent: mandatory=false,
child1: mandatory=true/enforcement=true,
child2: mandatory=true/enforcement=false
06-03-2014 10:55 PM
enforcement=true
is no use for parent type ,but it will be inherited by child type.
parent: mandatory=false, enforcement=true
parent: mandatory=false, enforcement=false
or parent: mandatory=true, enforcement=false
06-04-2014 01:09 AM
06-04-2014 01:27 AM
06-04-2014 02:18 PM
06-05-2014 01:13 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.