6.7.22.3 nt:base

NodeTypeName

nt:base

Supertypes

[]

IsMixin

false

HasOrderableChildNodes

false

PrimaryItemName

null

PropertyDefinition

Name jcr:primaryType

RequiredType NAME

ValueConstraints []

DefaultValues null

AutoCreated true

Mandatory true

OnParentVersion COMPUTE

Protected true

Multiple false

PropertyDefinition

Name jcr:mixinTypes

RequiredType NAME

ValueConstraints []

DefaultValues null

AutoCreated false

Mandatory false

OnParentVersion COMPUTE

Protected true

Multiple true


This node type is required.

All node types inherit from nt:base. As its name suggests it is the base type for all other types, and hence has no supertypes.

This node type specifies the special properties jcr:primaryType, and jcr:mixinTypes.

The jcr:primaryType property is a NAME property holding the name of the primary node type of its node. This property is mandatory.

The jcr:mixinTypes is a multi-value NAME property that holds the names of the node’s assigned mixin node types, if any. This property may not exist if the node in question has no mixin types assigned.

Since this information is itself stored as content, it will be serialized and deserialized along with all other content. This allows the preservation of node type information across serialization/deserialization cycles. See 7.4.5 Serialization and Node Types.

These properties are protected and are therefore maintained entirely by the repository itself. An application using the API can read the properties but cannot remove or alter them.