public boolean changedType() {
            return !currentField.getDataType().equals(nextField.getDataType());
        }
Validates the changes between a current and next document type used in a document database.

@author toregge
config-model/src/main/java/com/yahoo/vespa/model/application/validation/change/search/DocumentTypeChangeValidator.java