@Override public OWLObjectProperty getOWLObjectProperty(IRI iri) { return new OWLObjectPropertyImpl(iri); }
/** * Tests to see if this entity is of the specified type * @param entityType The entity type * @return <code>true</code> if this entity is of the specified type, otherwise <code>false</code>. */ public boolean isType(EntityType entityType) { return getEntityType().equals(entityType); }
@Override public boolean isBottomEntity() { return isOWLBottomObjectProperty(); }
/** * Gets an entity that has the same IRI as this entity but is of the specified type. * @param entityType The type of the entity to obtain. This entity is not affected in any way. * @return An entity that has the same IRI as this entity and is of the specified type */ public <E extends OWLEntity> E getOWLEntity(EntityType<E> entityType) { return getOWLDataFactory().getOWLEntity(entityType, getIRI()); }
@Override public boolean isTopEntity() { return isOWLTopObjectProperty(); }
/** * Determines if this is the owl:topObjectProperty * @return <code>true</code> if this property is the owl:topObjectProperty otherwise <code>false</code> */ public boolean isOWLTopObjectProperty() { return getIRI().equals(OWLRDFVocabulary.OWL_TOP_OBJECT_PROPERTY.getIRI()); }
@Override public boolean isTopEntity() { return isOWLTopObjectProperty(); }
/** * Determines if this is the owl:bottomObjectProperty * @return <code>true</code> if this property is the owl:bottomObjectProperty otherwise <code>false</code> */ public boolean isOWLBottomObjectProperty() { return getIRI().equals(OWLRDFVocabulary.OWL_BOTTOM_OBJECT_PROPERTY.getIRI()); }
@Override public OWLObjectProperty getOWLObjectProperty(IRI iri) { return new OWLObjectPropertyImpl(iri); }
@Override public boolean isType(EntityType<?> entityType) { return getEntityType().equals(entityType); }
public boolean isTopEntity() { return isOWLTopObjectProperty(); }
@Override public boolean isBottomEntity() { return isOWLBottomObjectProperty(); }
protected int compareObjectOfSameType(OWLObject object) { return getIRI().compareTo(((OWLObjectProperty) object).getIRI()); }
@Override public OWLObjectProperty getOWLObjectProperty(IRI iri) { return new OWLObjectPropertyImpl(iri); }
@Override public boolean isType(EntityType<?> entityType) { return getEntityType().equals(entityType); }
public boolean isBottomEntity() { return isOWLBottomObjectProperty(); }
OWLPropertyExpression prop = ((OWLSubPropertyAxiom)f).getSuperProperty(); if(prop instanceof OWLObjectPropertyImpl){ v+=message+lang.getProperty(Constants.LANG_SUBPROP_OF) +" "+ ((OWLObjectPropertyImpl)prop).getIRI(); }else if(prop instanceof OWLDataPropertyImpl){ v+=message+lang.getProperty(Constants.LANG_SUBPROP_OF) +" "+ ((OWLDataPropertyImpl)prop).getIRI();
@Override public OWLObjectProperty getOWLObjectProperty(IRI iri) { return new OWLObjectPropertyImpl(iri); }
@Override public OWLObjectProperty getOWLObjectProperty(IRI iri) { return new OWLObjectPropertyImpl(iri); }
@Override public OWLObjectProperty getOWLObjectProperty(IRI iri) { return new OWLObjectPropertyImpl(iri); }