Added sys:incomplete aspect.

Extended <mandatory> definition in the DD.
The "mandatory" properties in our system have, until now, been optional, i.e. the integrity has not been enforced.
It is possible to have
   <mandatory enforced="true">true</mandatory>, which means "mandatory and enforced", but
   <mandatory enforced="false">true</mandatory>, which means "mandatory but not enforced".
Our system properties have been marked as "mandatory".
Dublin core has had the properties marked as "required".  Currently, if the Dublin Core is added, the node is tagged with sys:incomplete.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-03-21 21:46:15 +00:00
parent 764675cb2a
commit fd13fe7a51
23 changed files with 718 additions and 53 deletions

View File

@@ -71,7 +71,10 @@
<collection field="propertyOverrides" item-type="org.alfresco.repo.dictionary.M2PropertyOverride" factory="org.alfresco.repo.dictionary.M2Model.createList">
<structure name="property" type="org.alfresco.repo.dictionary.M2PropertyOverride" usage="optional">
<value style="attribute" name="name" field="name"/>
<value name="mandatory" field="isMandatory" usage="optional"/>
<structure name="mandatory" usage="optional">
<value style="attribute" name="enforced" field="isMandatoryEnforced" usage="optional" />
<value style="text" field="isMandatory" />
</structure>
<value name="default" field="defaultValue" usage="optional"/>
</structure>
</collection>
@@ -97,7 +100,10 @@
<value name="description" field="description" usage="optional"/>
<value name="type" field="propertyType"/>
<value name="protected" field="isProtected" usage="optional"/>
<value name="mandatory" field="isMandatory" usage="optional"/>
<structure name="mandatory" usage="optional">
<value style="attribute" name="enforced" field="isMandatoryEnforced" usage="optional"/>
<value style="text" field="isMandatory" />
</structure>
<value name="multiple" field="isMultiValued" usage="optional"/>
<value name="default" field="defaultValue" usage="optional"/>
<structure name="index" usage="optional">