code: public PropertyDefinition[] getDeclaredPropertyDefinitions()
     {
        PropertyDefinition[] result = new PropertyDefinition[nodeTypeData.getDeclaredPropertyDefinitions().length];
        for (int i = 0; i < nodeTypeData.getDeclaredPropertyDefinitions().length; i++)
        {
           result[i] =
              new PropertyDefinitionImpl(nodeTypeData.getDeclaredPropertyDefinitions()[i], nodeTypeDataManager,
                 nodeTypeManager, locationFactory, valueFactory, dataManager);
        }
        return result;
     }
docs: {@inheritDoc}