mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2812 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
151 lines
4.9 KiB
XML
151 lines
4.9 KiB
XML
<model name="jcr:jcrmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
|
|
|
|
<description>JCR Model Definitions</description>
|
|
<version>1.0</version>
|
|
|
|
<imports>
|
|
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
|
|
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys" />
|
|
</imports>
|
|
|
|
<namespaces>
|
|
<namespace uri="http://www.jcp.org/jcr/1.0" prefix="jcr" />
|
|
<namespace uri="http://www.jcp.org/jcr/nt/1.0" prefix="nt" />
|
|
<namespace uri="http://www.jcp.org/jcr/mix/1.0" prefix="mix" />
|
|
<namespace uri="http://www.jcp.org/jcr/sv/1.0" prefix="sv" />
|
|
<namespace uri="http://www.w3.org/XML/1998/namespace" prefix="xml" />
|
|
</namespaces>
|
|
|
|
<types>
|
|
|
|
<type name="nt:base">
|
|
<parent>sys:base</parent>
|
|
<properties>
|
|
<property name="jcr:primaryType">
|
|
<type>d:qname</type>
|
|
<protected>true</protected>
|
|
<mandatory>true</mandatory>
|
|
</property>
|
|
<property name="jcr:mixinTypes">
|
|
<type>d:qname</type>
|
|
<protected>true</protected>
|
|
<multiple>true</multiple>
|
|
</property>
|
|
</properties>
|
|
</type>
|
|
|
|
<type name="nt:hierarchyNode">
|
|
<parent>nt:base</parent>
|
|
<properties>
|
|
<property name="jcr:created">
|
|
<type>d:date</type>
|
|
<protected>true</protected>
|
|
<mandatory>false</mandatory>
|
|
<multiple>false</multiple>
|
|
</property>
|
|
</properties>
|
|
</type>
|
|
|
|
<type name="nt:file">
|
|
<parent>nt:hierarchyNode</parent>
|
|
<associations>
|
|
<child-association name="jcr:content">
|
|
<source>
|
|
<mandatory>false</mandatory>
|
|
<many>true</many>
|
|
</source>
|
|
<target>
|
|
<class>nt:base</class>
|
|
<mandatory>true</mandatory>
|
|
<many>false</many>
|
|
</target>
|
|
<child-name>jcr:content</child-name>
|
|
<duplicate>false</duplicate>
|
|
</child-association>
|
|
</associations>
|
|
</type>
|
|
|
|
<type name="nt:folder">
|
|
<parent>nt:hierarchyNode</parent>
|
|
<associations>
|
|
<child-association name="jcr:contains">
|
|
<source>
|
|
<mandatory>false</mandatory>
|
|
<many>true</many>
|
|
</source>
|
|
<target>
|
|
<class>nt:hierarchyNode</class>
|
|
<mandatory>false</mandatory>
|
|
<many>true</many>
|
|
</target>
|
|
<duplicate>false</duplicate>
|
|
</child-association>
|
|
</associations>
|
|
</type>
|
|
|
|
<type name="nt:resource">
|
|
<parent>nt:base</parent>
|
|
<properties>
|
|
<property name="jcr:encoding">
|
|
<type>d:text</type>
|
|
<protected>false</protected>
|
|
<mandatory>false</mandatory>
|
|
<multiple>false</multiple>
|
|
</property>
|
|
<property name="jcr:mimeType">
|
|
<type>d:text</type>
|
|
<protected>false</protected>
|
|
<mandatory>true</mandatory>
|
|
<multiple>false</multiple>
|
|
</property>
|
|
<property name="jcr:data">
|
|
<type>d:content</type>
|
|
<protected>false</protected>
|
|
<mandatory>true</mandatory>
|
|
<multiple>false</multiple>
|
|
<index enabled="true">
|
|
<atomic>true</atomic>
|
|
<stored>false</stored>
|
|
<tokenised>true</tokenised>
|
|
</index>
|
|
</property>
|
|
<property name="jcr:lastModified">
|
|
<type>d:date</type>
|
|
<protected>false</protected>
|
|
<mandatory>true</mandatory>
|
|
<multiple>false</multiple>
|
|
</property>
|
|
</properties>
|
|
<mandatory-aspects>
|
|
<aspect>mix:referenceable</aspect>
|
|
</mandatory-aspects>
|
|
</type>
|
|
|
|
</types>
|
|
|
|
<aspects>
|
|
|
|
<aspect name="mix:referenceable">
|
|
<properties>
|
|
<property name="jcr:uuid">
|
|
<type>d:text</type>
|
|
<protected>true</protected>
|
|
<mandatory>true</mandatory>
|
|
</property>
|
|
</properties>
|
|
</aspect>
|
|
|
|
<aspect name="mix:lockable">
|
|
<properties>
|
|
<property name="jcr:lockOwner">
|
|
<type>d:text</type>
|
|
</property>
|
|
<property name="jcr:lockIsDeep">
|
|
<type>d:boolean</type>
|
|
</property>
|
|
</properties>
|
|
</aspect>
|
|
|
|
</aspects>
|
|
|
|
</model> |