Examples of OWLSubPropertyAxiom


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

Examples of org.semanticweb.owl.model.OWLSubPropertyAxiom

        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
Copyright © 2018 www.massapi.com. 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.