Package org.semanticweb.owl.model

Examples of org.semanticweb.owl.model.OWLAnnotationAxiom


    public boolean equals(Object obj) {
        if (super.equals(obj)) {
            if (!(obj instanceof OWLAnnotationAxiom)) {
                return false;
            }
            OWLAnnotationAxiom other = (OWLAnnotationAxiom) obj;
            return other.getSubject().equals(subject) && other.getAnnotation().equals(annotation);
        }
        return false;
    }
View Full Code Here


        return false;
    }


    final protected int compareObjectOfSameType(OWLObject object) {
        OWLAnnotationAxiom other = (OWLAnnotationAxiom) object;
        int diff = subject.compareTo(other.getSubject());
        if(diff != 0) {
            return diff;
        }
        return annotation.compareTo(other.getAnnotation());
    }
View Full Code Here

TOP

Related Classes of org.semanticweb.owl.model.OWLAnnotationAxiom

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.