/** * Creates a new serializable qualified node type definition. * * @param name the name of the node type * @param supertypes the names of the supertypes * @param isMixin if this is a mixin node type * @param hasOrderableChildNodes if this node type has orderable child * nodes. * @param primaryItemName the name of the primary item, or * <code>null</code>. * @param declaredPropDefs the declared property definitions. * @param declaredNodeDefs the declared child node definitions. */ public QNodeTypeDefinitionImpl(Name name, Name[] supertypes, boolean isMixin, boolean hasOrderableChildNodes, Name primaryItemName, QPropertyDefinition[] declaredPropDefs, QNodeDefinition[] declaredNodeDefs) { this.name = name; this.supertypes = supertypes; this.isMixin = isMixin; this.hasOrderableChildNodes = hasOrderableChildNodes; this.primaryItemName = primaryItemName; this.propertyDefs = getSerializablePropertyDefs(declaredPropDefs); this.childNodeDefs = getSerializableNodeDefs(declaredNodeDefs); }
this.hasOrderableChildNodes = hasOrderableChildNodes; this.primaryItemName = primaryItemName; this.propertyDefs = getSerializablePropertyDefs(declaredPropDefs); this.childNodeDefs = getSerializableNodeDefs(declaredNodeDefs);
this.hasOrderableChildNodes = hasOrderableChildNodes; this.primaryItemName = primaryItemName; this.propertyDefs = getSerializablePropertyDefs(declaredPropDefs); this.childNodeDefs = getSerializableNodeDefs(declaredNodeDefs);