Package org.semanticweb.owl.model

Examples of org.semanticweb.owl.model.OWLSubPropertyAxiom


    public boolean equals(Object obj) {
        if (super.equals(obj)) {
            if (!(obj instanceof OWLSubPropertyAxiom)) {
                return false;
            }
            OWLSubPropertyAxiom other = (OWLSubPropertyAxiom) obj;
            return other.getSubProperty().equals(subProperty) && other.getSuperProperty().equals(superProperty);
        }
        return false;
    }
View Full Code Here


        return false;
    }


    protected int compareObjectOfSameType(OWLObject object) {
        OWLSubPropertyAxiom other = (OWLSubPropertyAxiom) object;
        int diff = subProperty.compareTo(other.getSubProperty());
        if(diff != 0) {
            return diff;
        }
        return superProperty.compareTo(other.getSuperProperty());
    }
View Full Code Here

TOP

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

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.