@Override
        public boolean equals(Object obj) {
            if (!(obj instanceof OrgTypeName)) {
                return false;
            }
            OrgTypeName otherOrgName = (OrgTypeName) obj;
            return this.type.equals(otherOrgName.getType()) &&
                    this.name.equals(otherOrgName.getName());
        }
@param type the type to set
tika-parsers/tika-parsers-ml/tika-parser-nlp-module/src/main/java/org/apache/tika/parser/journal/TEIDOMParser.java