Apache Jackrabbit : Nt -base

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
  • unstructured is the general-purpose unstructured node type
  • the referenceable, versionable, and lockable mixin types can be used to associate specific features to any nt:base nodes

Comments and questions