Generated by
JDiff

Interface javax.jcr.nodetype.NodeType

Added interface javax.jcr.nodetype.NodeTypeDefinition.

Removed Methods
NodeDefinition[] getDeclaredChildNodeDefinitions() Returns an array containing the child node definitions explicitly specified in the declaration of this node type.
PropertyDefinition[] getDeclaredPropertyDefinitions() Returns an array containing the property definitions explicitly specified in the declaration of this node type.
String getName() Returns the name of the node type.
String getPrimaryItemName() Returns the name of the primary item (one of the child items of the nodes of this node type).
boolean hasOrderableChildNodes() Returns true if nodes of this type must support orderable child nodes; returns false otherwise.
boolean isMixin() Returns true if this node type is a mixin node type.
 

Added Methods
boolean canRemoveNode(String) Returns true if removing the child node called nodeName is allowed by this node type.
boolean canRemoveProperty(String) Returns true if removing the property called propertyName is allowed by this node type.
NodeTypeIterator getDeclaredSubtypes() Returns the direct subtypes of this node type in the node type inheritance hierarchy, that is, those which actually declared this node type in their list of supertypes.
NodeTypeIterator getSubtypes() Returns all subtypes of this node type in the node type inheritance hierarchy.
 

Changed Methods
boolean canRemoveItem(String) Now deprecated.
As of JCR 2.0, clients should use {@link #canRemoveNode(String)} and {@link #canRemoveProperty(String)} instead.
 

Added Fields
String MIX_CREATED A constant for the node type name mix:created (in expanded form).
String MIX_LANGUAGE A constant for the node type name mix:language (in expanded form).
String MIX_LAST_MODIFIED A constant for the node type name mix:lastModified (in expanded form).
String MIX_LIFECYCLE A constant for the node type name mix:lifecycle (in expanded form).
String MIX_LOCKABLE A constant for the node type name mix:lockable (in expanded form).
String MIX_MIMETYPE A constant for the node type name mix:mimeType (in expanded form).
String MIX_REFERENCEABLE A constant for the node type name mix:referenceable (in expanded form).
String MIX_SHAREABLE A constant for the node type name mix:shareable (in expanded form).
String MIX_SIMPLE_VERSIONABLE A constant for the node type name mix:simpleVersionable (in expanded form).
String MIX_TITLE A constant for the node type name mix:title (in expanded form).
String MIX_VERSIONABLE A constant for the node type name mix:versionable (in expanded form).
String NT_ACTIVITY A constant for the node type name nt:activity (in expanded form).
String NT_ADDRESS A constant for the node type name nt:address (in expanded form).
String NT_BASE A constant for the node type name nt:base (in expanded form).
String NT_CHILD_NODE_DEFINITION A constant for the node type name nt:childNodeDefinition (in expanded form).
String NT_CONFIGURATION A constant for the node type name nt:configuration (in expanded form).
String NT_FILE A constant for the node type name nt:file (in expanded form).
String NT_FOLDER A constant for the node type name nt:folder (in expanded form).
String NT_FROZEN_NODE A constant for the node type name nt:frozenNode (in expanded form).
String NT_HIERARCHY_NODE A constant for the node type name nt:hierarchyNode (in expanded form).
String NT_LINKED_FILE A constant for the node type name nt:linkedFile (in expanded form).
String NT_NODE_TYPE A constant for the node type name nt:nodeType (in expanded form).
String NT_PROPERTY_DEFINITION A constant for the node type name nt:propertyDefinition (in expanded form).
String NT_QUERY A constant for the node type name nt:query (in expanded form).
String NT_RESOURCE A constant for the node type name nt:resource (in expanded form).
String NT_UNSTRUCTURED A constant for the node type name nt:unstructured (in expanded form).
String NT_VERSION A constant for the node type name nt:version (in expanded form).
String NT_VERSIONED_CHILD A constant for the node type name nt:versionedChild (in expanded form).
String NT_VERSION_HISTORY A constant for the node type name nt:versionHistory (in expanded form).