jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "nt:base" by JukkaZitting
Date Mon, 03 Apr 2006 16:45:46 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by JukkaZitting:
http://wiki.apache.org/jackrabbit/nt%3abase

New page:
The base type of all primary node types.

== Definition ==

{{{
[nt:base]
- jcr:primaryType (NAME) autocreated mandatory protected COMPUTE
- jcr:mixinTypes  (NAME) autocreated mandatory protected multiple COMPUTE
}}}

== Description ==

The nt:base type is the base type of all primary node types. It is also the only node type
that is ''required'' by the JSR 170 specification to be available in all content repositories.

The defined {{{jcr:primaryType}}} and {{{jcr:mixinTypes}}} properties are protected and can
only be read using the normal property access methods. The {{{jcr:mixinTypes}}} property can
be modified using the Node.addMixin() and Node.removeMixin() methods, but the {{{jcr:primaryType}}}
property is fixed when the node is created.

== Related node types ==

 * All the other primary node types are descendants of nt:base
 * ["nt:unstructured"] is the general-purpose unstructured node type
 * the ["mix:referenceable"], ["mix:versionable"], and ["mix:lockable"] mixin types can be
used to associate specific features to any nt:base nodes

== Comments and questions ==

Mime
View raw message