public boolean equals(Object obj) { if(super.equals(obj)) { return obj instanceof OWLPropertyExpression; } return false; }
@Override public boolean equals(Object obj) { if (super.equals(obj)) { return obj instanceof OWLPropertyExpression; } return false; }
public boolean equals(Object obj) { if (super.equals(obj)) { if (!(obj instanceof OWLDataComplementOf)) { return false; } return ((OWLDataComplementOf) obj).getDataRange().equals(dataRange); } return false; }
public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } if (!(obj instanceof OWLAxiom)) { return false; } OWLAxiom other = (OWLAxiom) obj; return annotations.equals(other.getAnnotations()); }
public boolean equals(Object obj) { if (super.equals(obj)) { if (!(obj instanceof OWLDataOneOf)) { return false; } return ((OWLDataOneOf) obj).getValues().equals(values); } return false; }
@Override public boolean equals(Object obj) { if (super.equals(obj)) { if (!(obj instanceof OWLDataComplementOf)) { return false; } return ((OWLDataComplementOf) obj).getDataRange().equals(dataRange); } return false; }
@Override public boolean equals(Object obj) { if (super.equals(obj)) { if (!(obj instanceof OWLDataOneOf)) { return false; } return ((OWLDataOneOf) obj).getValues().equals(values); } return false; }
public boolean equals(Object obj) { if (super.equals(obj)) { if (!(obj instanceof OWLDatatypeRestriction)) { return false; } OWLDatatypeRestriction other = (OWLDatatypeRestriction) obj; return other.getDatatype().equals(datatype) && other.getFacetRestrictions().equals(facetRestrictions); } return false; }
@Override public boolean equals(Object obj) { if (super.equals(obj)) { if (!(obj instanceof OWLDatatypeRestriction)) { return false; } OWLDatatypeRestriction other = (OWLDatatypeRestriction) obj; return other.getDatatype().equals(datatype) && other.getFacetRestrictions().equals(facetRestrictions); } return false; }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } if (!(obj instanceof OWLAxiom)) { return false; } OWLAxiom other = (OWLAxiom) obj; return getAnnotations().equals(other.getAnnotations()); }
public boolean equals(Object obj) { if (super.equals(obj)) { if (obj instanceof OWLDatatype) { return ((OWLDatatype) obj).getIRI().equals(getIRI()); } } return false; }
@Override public boolean equals(Object obj) { if (super.equals(obj) && obj instanceof OWLAnnotation) { OWLAnnotation other = (OWLAnnotation) obj; return other.getProperty().equals(property) && other.getValue().equals(value) && other.getAnnotations().equals(annotations); } return false; }
public boolean equals(Object obj) { if (super.equals(obj)) { if (obj instanceof OWLAnnotation) { OWLAnnotation other = (OWLAnnotation) obj; return other.getProperty().equals(property) && other.getValue().equals(value) && other.getAnnotations().equals(annotations); } } return false; }
public boolean equals(Object obj) { if (super.equals(obj)) { if (!(obj instanceof OWLLiteral)) { return false; } OWLLiteralImpl other = (OWLLiteralImpl) obj; // if(other.length != this.length) { // return false; // } return other.getLiteral().equals(getLiteral()); } return false; } }
@Override public boolean equals(Object obj) { if (super.equals(obj)) { if (obj instanceof OWLLiteralImplBoolean) { OWLLiteralImplBoolean other = (OWLLiteralImplBoolean) obj; return literal == other.literal && datatype.equals(other.getDatatype()); } if (obj instanceof OWLLiteral) { return datatype.equals(((OWLLiteral) obj).getDatatype()) && getLiteral().equals(((OWLLiteral) obj).getLiteral()); } } return false; }
@Override public boolean equals(Object obj) { if (super.equals(obj)) { if (obj instanceof OWLLiteralImplDouble) { OWLLiteralImplDouble other = (OWLLiteralImplDouble) obj; return literal == other.literal && datatype.equals(other.getDatatype()); } if (obj instanceof OWLLiteral) { return datatype.equals(((OWLLiteral) obj).getDatatype()) && getLiteral().equals(((OWLLiteral) obj).getLiteral()); } } return false; }
@Override public boolean equals(Object obj) { if (super.equals(obj)) { if (obj instanceof OWLLiteralImplFloat) { OWLLiteralImplFloat other = (OWLLiteralImplFloat) obj; return literal == other.literal && datatype.equals(other.getDatatype()); } if (obj instanceof OWLLiteral) { return datatype.equals(((OWLLiteral) obj).getDatatype()) && getLiteral().equals(((OWLLiteral) obj).getLiteral()); } } return false; }
@Override public boolean equals(Object obj) { if (super.equals(obj)) { if (obj instanceof OWLLiteralImplInteger) { OWLLiteralImplInteger other = (OWLLiteralImplInteger) obj; return literal == other.literal && datatype.equals(other.getDatatype()); } if (obj instanceof OWLLiteral) { return datatype.equals(((OWLLiteral) obj).getDatatype()) && getLiteral().equals(((OWLLiteral) obj).getLiteral()); } } return false; }
@Override public boolean equals(Object obj) { if (super.equals(obj)) { if (!(obj instanceof OWLLiteral)) { return false; } OWLLiteral other = (OWLLiteral) obj; if (other instanceof OWLLiteralImplNoCompression) { return literal.equals(((OWLLiteralImplNoCompression) other).literal) && datatype.equals(other.getDatatype()) && lang.equals(other.getLang()); } return getLiteral().equals(other.getLiteral()) && datatype.equals(other.getDatatype()) && lang.equals(other.getLang()); } return false; }
@Override public boolean equals(Object obj) { if (super.equals(obj) && obj instanceof OWLDatatype) { return ((OWLDatatype) obj).getIRI().equals(getIRI()); } return false; }