mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-07 18:25:23 +00:00
12565: JCR - fix ALFCOM-1655 (supercedes part of r12170) 12644: JCR - fix extra testcase for ALFCOM-1655 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12650 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
71 lines
1.7 KiB
XML
71 lines
1.7 KiB
XML
<model name="my:mytestmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
|
|
|
|
<description>My test model</description>
|
|
<version>1.0</version>
|
|
|
|
<imports>
|
|
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
|
|
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
|
</imports>
|
|
|
|
<namespaces>
|
|
<namespace uri="http://www.alfresco.org/model/my/1.0" prefix="my"/>
|
|
</namespaces>
|
|
|
|
<types>
|
|
|
|
<type name="my:a">
|
|
<title>A</title>
|
|
<parent>cm:folder</parent>
|
|
<associations>
|
|
<child-association name="my:b">
|
|
<target>
|
|
<class>my:b</class>
|
|
<mandatory>false</mandatory>
|
|
<many>false</many>
|
|
</target>
|
|
</child-association>
|
|
</associations>
|
|
<mandatory-aspects>
|
|
<aspect>my:baseAspect</aspect>
|
|
</mandatory-aspects>
|
|
</type>
|
|
|
|
<type name="my:b">
|
|
<title>B</title>
|
|
<parent>cm:folder</parent>
|
|
<mandatory-aspects>
|
|
<aspect>my:baseAspect</aspect>
|
|
</mandatory-aspects>
|
|
</type>
|
|
|
|
<type name="my:c">
|
|
<title>C</title>
|
|
<parent>cm:folder</parent>
|
|
<associations>
|
|
<child-association name="my:c">
|
|
<source>
|
|
<mandatory>false</mandatory>
|
|
<many>true</many>
|
|
</source>
|
|
<target>
|
|
<class>sys:base</class>
|
|
<mandatory>false</mandatory>
|
|
<many>true</many>
|
|
</target>
|
|
<duplicate>false</duplicate>
|
|
</child-association>
|
|
</associations>
|
|
</type>
|
|
|
|
</types>
|
|
|
|
<aspects>
|
|
|
|
<aspect name="my:baseAspect">
|
|
<title>Base Aspect</title>
|
|
</aspect>
|
|
|
|
</aspects>
|
|
|
|
</model> |