stefan      2004/06/30 07:39:08

  Added:       proposals/jcrri/src/org/apache/slide/jcr/core/nodetype
                        builtin_nodetypes.xml
  Log:
  jcrri
  
  Revision  Changes    Path
  1.1                  
jakarta-slide/proposals/jcrri/src/org/apache/slide/jcr/core/nodetype/builtin_nodetypes.xml
  
  Index: builtin_nodetypes.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE nodeTypes [
        <!ELEMENT nodeTypes (nodeType)*>
                <!ELEMENT nodeType (propertyDef|childNodeDef)*>
                <!ATTLIST nodeType
                        name CDATA #REQUIRED
                        mixin (true|false) #REQUIRED
                        orderableChildNodes (true|false) #REQUIRED
                        supertypes CDATA #REQUIRED
                >
                <!ELEMENT propertyDef (#PCDATA)>
                <!ATTLIST propertyDef
                        name CDATA #REQUIRED
                        type 
(String|Date|SoftLink|Reference|Binary|Double|Long|Boolean|undefined) #REQUIRED
                        valueConstraint CDATA #REQUIRED
                        defaultValue CDATA #REQUIRED
                        autoCreate (true|false) #REQUIRED
                        mandatory (true|false) #REQUIRED
                        onParentVersion (COPY|VERSION|INITIALIZE|COMPUTE|IGNORE|ABORT) 
#REQUIRED
                        protected (true|false) #REQUIRED
                        primaryItem (true|false) #REQUIRED
                        multiple  (true|false) #REQUIRED
                >
                <!ELEMENT childNodeDef (#PCDATA)>
                <!ATTLIST childNodeDef
                        name CDATA #REQUIRED
                        requiredPrimaryTypes CDATA #REQUIRED
                        defaultPrimaryType  CDATA #REQUIRED
                        autoCreate (true|false) #REQUIRED
                        mandatory (true|false) #REQUIRED
                        onParentVersion (COPY|VERSION|INITIALIZE|COMPUTE|IGNORE|ABORT) 
#REQUIRED
                        protected (true|false) #REQUIRED
                        primaryItem (true|false) #REQUIRED
                        sameNameSibs (true|false) #REQUIRED
                >
  ]>
  <nodeTypes
      xmlns:nt="http://www.jcp.org/jcr/nt/1.0";
      xmlns:mix="http://www.jcp.org/jcr/mix/1.0";
      xmlns:jcr="http://www.jcp.org/jcr/1.0";>
      <nodeType name="nt:base" mixin="false" orderableChildNodes="false" supertypes="">
        <propertyDef name="jcr:primaryType" type="String" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COMPUTE" 
protected="true" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:mixinTypes" type="String" valueConstraint="" 
defaultValue="" autoCreate="false" mandatory="false" onParentVersion="COMPUTE" 
protected="true" primaryItem="false" multiple="true"/>
      </nodeType>
      <nodeType name="nt:unstructured" mixin="false" orderableChildNodes="true" 
supertypes="nt:base">
        <childNodeDef name="" requiredPrimaryTypes="nt:base" 
defaultPrimaryType="nt:unstructured" autoCreate="false" mandatory="false" 
onParentVersion="VERSION" protected="false" primaryItem="false" sameNameSibs="true"/>
        <propertyDef name="" type="undefined" valueConstraint="" defaultValue="" 
autoCreate="false" mandatory="false" onParentVersion="COPY" protected="false" 
primaryItem="false" multiple="true"/>
      </nodeType>
      <nodeType name="nt:hierarchyNode" mixin="false" orderableChildNodes="false" 
supertypes="nt:base">
        <propertyDef name="jcr:created" type="Date" valueConstraint="" defaultValue="" 
autoCreate="true" mandatory="true" onParentVersion="INITIALIZE" protected="true" 
primaryItem="false" multiple="false"/>
      </nodeType>
      <nodeType name="nt:file" mixin="false" orderableChildNodes="false" 
supertypes="nt:hierarchyNode">
        <childNodeDef name="jcr:content" requiredPrimaryTypes="nt:base" 
defaultPrimaryType="" autoCreate="false" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="true" sameNameSibs="false"/>
      </nodeType>
      <nodeType name="nt:mimeResource" mixin="false" orderableChildNodes="false" 
supertypes="nt:base,mix:referenceable">
        <propertyDef name="jcr:encoding" type="String" valueConstraint="" 
defaultValue="" autoCreate="false" mandatory="false" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:mimeType" type="String" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:data" type="Binary" valueConstraint="" defaultValue="" 
autoCreate="true" mandatory="true" onParentVersion="COPY" protected="false" 
primaryItem="true" multiple="false"/>
        <propertyDef name="jcr:lastModified" type="Date" valueConstraint="" 
defaultValue="" autoCreate="false" mandatory="true" onParentVersion="IGNORE" 
protected="false" primaryItem="false" multiple="false"/>
      </nodeType>
      <nodeType name="nt:folder" mixin="false" orderableChildNodes="false" 
supertypes="nt:hierarchyNode">
        <childNodeDef name="" requiredPrimaryTypes="nt:hierarchyNode" 
defaultPrimaryType="" autoCreate="false" mandatory="false" onParentVersion="VERSION" 
protected="false" primaryItem="false" sameNameSibs="false"/>
      </nodeType>
      <nodeType name="nt:nodeType" mixin="false" orderableChildNodes="false" 
supertypes="nt:base">
        <propertyDef name="jcr:nodeTypeName" type="String" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:supertypes" type="String" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="true"/>
        <propertyDef name="jcr:isMixin" type="Boolean" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:orderableChildNodes" type="Boolean" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <childNodeDef name="jcr:propertyDef" requiredPrimaryTypes="nt:propertyDef" 
defaultPrimaryType="nt:propertyDef" autoCreate="false" mandatory="false" 
onParentVersion="VERSION" protected="false" primaryItem="false" sameNameSibs="true"/>
        <childNodeDef name="jcr:childNodeDef" requiredPrimaryTypes="nt:childNodeDef" 
defaultPrimaryType="nt:childNodeDef" autoCreate="false" mandatory="false" 
onParentVersion="VERSION" protected="false" primaryItem="false" sameNameSibs="true"/>
      </nodeType>
      <nodeType name="nt:propertyDef" mixin="false" orderableChildNodes="false" 
supertypes="nt:base">
        <propertyDef name="jcr:name" type="String" valueConstraint="" defaultValue="" 
autoCreate="true" mandatory="true" onParentVersion="COPY" protected="false" 
primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:type" type="String" valueConstraint="" defaultValue="" 
autoCreate="true" mandatory="true" onParentVersion="COPY" protected="false" 
primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:valueConstraint" type="String" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:defaultValue" type="undefined" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:autoCreate" type="Boolean" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:mandatory" type="Boolean" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:onParentVersion" type="String" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:protected" type="Boolean" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:primaryItem" type="Boolean" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:multiple" type="Boolean" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
      </nodeType>
      <nodeType name="nt:childNodeDef" mixin="false" orderableChildNodes="false" 
supertypes="nt:base">
        <propertyDef name="jcr:name" type="String" valueConstraint="" defaultValue="" 
autoCreate="true" mandatory="true" onParentVersion="COPY" protected="false" 
primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:requiredPrimaryTypes" type="String" valueConstraint="" 
defaultValue="nt:base" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="true"/>
        <propertyDef name="jcr:defaultPrimaryType" type="String" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:autoCreate" type="Boolean" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:mandatory" type="Boolean" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:onParentVersion" type="String" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:protected" type="Boolean" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:primaryItem" type="Boolean" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:sameNameSibs" type="Boolean" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
      </nodeType>
      <nodeType name="nt:versionHistory" mixin="false" orderableChildNodes="false" 
supertypes="nt:base,mix:referenceable">
        <childNodeDef name="jcr:rootVersion" requiredPrimaryTypes="nt:version" 
defaultPrimaryType="nt:version" autoCreate="true" mandatory="true" 
onParentVersion="ABORT" protected="true" primaryItem="false" sameNameSibs="false"/>
        <childNodeDef name="" requiredPrimaryTypes="nt:version" 
defaultPrimaryType="nt:version" autoCreate="false" mandatory="false" 
onParentVersion="ABORT" protected="true" primaryItem="false" sameNameSibs="false"/>
      </nodeType>
      <nodeType name="nt:version" mixin="false" orderableChildNodes="false" 
supertypes="nt:base,mix:referenceable">
        <propertyDef name="jcr:versionLabels" type="String" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="false" onParentVersion="ABORT" 
protected="true" primaryItem="false" multiple="true"/>
        <propertyDef name="jcr:created" type="Date" valueConstraint="" defaultValue="" 
autoCreate="true" mandatory="true" onParentVersion="ABORT" protected="true" 
primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:predecessors" type="Reference" 
valueConstraint="nt:version" defaultValue="" autoCreate="true" mandatory="false" 
onParentVersion="ABORT" protected="true" primaryItem="false" multiple="true"/>
        <propertyDef name="jcr:successors" type="Reference" 
valueConstraint="nt:version" defaultValue="" autoCreate="true" mandatory="false" 
onParentVersion="ABORT" protected="true" primaryItem="false" multiple="true"/>
        <propertyDef name="jcr:frozenPrimaryType" type="String" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="ABORT" 
protected="true" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:frozenMixinTypes" type="String" valueConstraint="" 
defaultValue="" autoCreate="false" mandatory="false" onParentVersion="ABORT" 
protected="true" primaryItem="false" multiple="true"/>
        <propertyDef name="jcr:frozenUUID" type="String" valueConstraint="" 
defaultValue="" autoCreate="true" mandatory="true" onParentVersion="ABORT" 
protected="true" primaryItem="false" multiple="false"/>
        <propertyDef name="" type="undefined" valueConstraint="" defaultValue="" 
autoCreate="false" mandatory="false" onParentVersion="ABORT" protected="true" 
primaryItem="false" multiple="true"/>
        <childNodeDef name="" requiredPrimaryTypes="nt:base" defaultPrimaryType="" 
autoCreate="false" mandatory="false" onParentVersion="ABORT" protected="false" 
primaryItem="false" sameNameSibs="true"/>
      </nodeType>
      <nodeType name="nt:query" mixin="false" orderableChildNodes="false" 
supertypes="nt:base">
        <propertyDef name="jcr:statement" type="String" valueConstraint="" 
defaultValue="" autoCreate="false" mandatory="false" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:language" type="String" valueConstraint="" 
defaultValue="" autoCreate="false" mandatory="false" onParentVersion="COPY" 
protected="false" primaryItem="false" multiple="false"/>
      </nodeType>
  
      <nodeType name="mix:accessControllable" mixin="true" orderableChildNodes="false" 
supertypes="">
      </nodeType>
      <nodeType name="mix:lockable" mixin="true" orderableChildNodes="false" 
supertypes="">
        <propertyDef name="jcr:lockOwner" type="String" valueConstraint="" 
defaultValue="" autoCreate="false" mandatory="false" onParentVersion="IGNORE" 
protected="true" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:lockIsDeep" type="Boolean" valueConstraint="" 
defaultValue="" autoCreate="false" mandatory="false" onParentVersion="IGNORE" 
protected="true" primaryItem="false" multiple="false"/>
      </nodeType>
      <nodeType name="mix:referenceable" mixin="true" orderableChildNodes="false" 
supertypes="">
        <propertyDef name="jcr:uuid" type="String" valueConstraint="" defaultValue="" 
autoCreate="true" mandatory="true" onParentVersion="INITIALIZE" protected="true" 
primaryItem="false" multiple="false"/>
      </nodeType>
      <nodeType name="mix:versionable" mixin="true" orderableChildNodes="false" 
supertypes="mix:referenceable">
        <propertyDef name="jcr:versionHistory" type="Reference" 
valueConstraint="nt:versionHistory" defaultValue="" autoCreate="true" mandatory="true" 
onParentVersion="COPY" protected="true" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:baseVersion" type="Reference" 
valueConstraint="nt:version" defaultValue="" autoCreate="true" mandatory="true" 
onParentVersion="IGNORE" protected="true" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:isCheckedOut" type="Boolean" valueConstraint="" 
defaultValue="true" autoCreate="true" mandatory="true" onParentVersion="IGNORE" 
protected="true" primaryItem="false" multiple="false"/>
        <propertyDef name="jcr:predecessors" type="Reference" 
valueConstraint="nt:version" defaultValue="" autoCreate="true" mandatory="true" 
onParentVersion="COPY" protected="false" primaryItem="false" multiple="true"/>
      </nodeType>
  </nodeTypes>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to