code: public NodeDefinition[] getChildNodeDefinitions()
     {
        NodeDefinitionData[] nodeDefs =
           nodeTypeDataManager.getAllChildNodeDefinitions(new InternalQName[]{nodeTypeData.getName()});
        NodeDefinition[] ndefs = new NodeDefinition[nodeDefs.length];
        for (int i = 0; i < nodeDefs.length; i++)
        {
           NodeDefinitionData cnd = nodeDefs[i];
           ndefs[i] =
              new NodeDefinitionImpl(cnd, nodeTypeDataManager, nodeTypeManager, locationFactory, valueFactory,
                 dataManager);
        }
  
        return ndefs;
     }
docs: {@inheritDoc}