Addition of nt:hierarchyNode, nt:folder, nt:file and nt:resource as defined in JCR 170 specification.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2795 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2006-05-09 09:50:18 +00:00
parent 1119bdd44e
commit 78aee1feb2

View File

@@ -32,6 +32,93 @@
</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>