mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Property constraint dictionary support
Constraint implementation support Regular expression constraint git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2547 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -41,6 +41,10 @@
|
||||
</collection>
|
||||
</structure>
|
||||
|
||||
<structure name="constraints" usage="optional">
|
||||
<collection field="constraints" item-type="org.alfresco.repo.dictionary.M2Constraint" factory="org.alfresco.repo.dictionary.M2Model.createList"/>
|
||||
</structure>
|
||||
|
||||
<structure name="types" usage="optional">
|
||||
<collection field="types" item-type="org.alfresco.repo.dictionary.M2Type" factory="org.alfresco.repo.dictionary.M2Model.createList"/>
|
||||
</structure>
|
||||
@@ -102,6 +106,24 @@
|
||||
<value name="stored" field="isStoredInIndex" usage="optional"/>
|
||||
<value name="tokenised" field="isTokenisedInIndex" usage="optional"/>
|
||||
</structure>
|
||||
<structure name="constraints" usage="optional">
|
||||
<collection field="constraints" item-type="org.alfresco.repo.dictionary.M2Constraint" factory="org.alfresco.repo.dictionary.M2Model.createList"/>
|
||||
</structure>
|
||||
</mapping>
|
||||
|
||||
<mapping abstract="true" class="org.alfresco.repo.dictionary.M2NamedValue">
|
||||
<value style="attribute" name="name" field="name" />
|
||||
<value style="text" field="value"/>
|
||||
</mapping>
|
||||
|
||||
<mapping name="constraint" class="org.alfresco.repo.dictionary.M2Constraint">
|
||||
<value style="attribute" name="name" field="name" usage="optional"/>
|
||||
<value style="attribute" name="type" field="type" usage="optional"/>
|
||||
<value style="attribute" name="ref" field="ref" usage="optional"/>
|
||||
<value name="description" field="description" usage="optional"/>
|
||||
<collection field="parameters" factory="org.alfresco.repo.dictionary.M2Model.createList" usage="optional">
|
||||
<structure name="parameter" type="org.alfresco.repo.dictionary.M2NamedValue" />
|
||||
</collection>
|
||||
</mapping>
|
||||
|
||||
<mapping class="org.alfresco.repo.dictionary.M2ClassAssociation" abstract="true">
|
||||
|
Reference in New Issue
Block a user