public Map<DataTypeName, DocumentType> getDocumentTypes() {
        return Collections.unmodifiableMap(documentTypes);
    }
A read only view of the registered document types
@return map of types
document/src/main/java/com/yahoo/document/DocumentTypeManager.java