code: void putDefinitions(InternalQName name, NodeTypeData nodeType)
     {
  
        // put child node defs
        NodeDefinitionData[] nodeDefs = nodeType.getDeclaredChildNodeDefinitions();
        for (NodeDefinitionData nodeDef : nodeDefs)
        {
           // put required node type defs
           for (InternalQName rnt : nodeDef.getRequiredPrimaryTypes())
           {
              addNodeDefinitionDataInternal(name, nodeDef.getName(), rnt, nodeDef);
              if (LOG.isDebugEnabled())
              {
                 LOG.debug("NodeDef added: parent NT: " + name.getAsString() + " child nodeName: "
                    + nodeDef.getName().getAsString() + " childNT: " + rnt.getAsString());
              }
           }
  
           // put default node definition
           addNodeDefinitionDataInternal(name, nodeDef.getName(), nodeDef);
  
           if (LOG.isDebugEnabled())
           {
              LOG.debug("Default NodeDef added: parent NT: " + name.getAsString() + " child nodeName: "
                 + nodeDef.getName());
           }
        }
  
        // put prop defs
        PropertyDefinitionData[] propDefs = nodeType.getDeclaredPropertyDefinitions();
        for (PropertyDefinitionData propDef : propDefs)
        {
           addPropertyDefinitionInternal(name, propDef.getName(), propDef.isMultiple(), propDef);
  
           if (LOG.isDebugEnabled())
           {
              LOG.debug("PropDef added: parent NT: " + name.getAsString() + " child propName: "
                 + propDef.getName().getAsString() + " isMultiple: " + propDef.isMultiple());
           }
        }
  
     }
docs: adds Child Node/Property Definitions for incoming NodeType (should be
  called by NodeTypeManager in register method)
  
  @param nodeType