@Nonnull @Override public OWLDataPropertyRangeAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLDataPropertyRangeAxiomImpl(getProperty(), getRange(), NO_ANNOTATIONS); }
@Override public OWLAxiom getAnnotatedAxiom(Set<OWLAnnotation> annotations) { return new OWLDataPropertyRangeAxiomImpl(getProperty(), getRange(), mergeAnnos(annotations)); }
@Override public OWLSubClassOfAxiom asOWLSubClassOfAxiom() { OWLClassExpression sup = new OWLDataAllValuesFromImpl(getProperty(), getRange()); return new OWLSubClassOfAxiomImpl(InternalizedEntities.OWL_THING, sup, NO_ANNOTATIONS); } }
@Override public OWLSubClassOfAxiom asOWLSubClassOfAxiom() { OWLClassExpression sup = new OWLDataAllValuesFromImpl(getProperty(), getRange()); return new OWLSubClassOfAxiomImpl(InternalizedEntities.OWL_THING, sup, NO_ANNOTATIONS); } }
@Override public OWLSubClassOfAxiom asOWLSubClassOfAxiom() { OWLClassExpression sup = new OWLDataAllValuesFromImpl(getProperty(), getRange()); return new OWLSubClassOfAxiomImpl(OWL_THING, sup, NO_ANNOTATIONS); } }
@Override @SuppressWarnings("unchecked") public OWLDataPropertyRangeAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLDataPropertyRangeAxiomImpl(getProperty(), getRange(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public OWLDataPropertyRangeAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLDataPropertyRangeAxiomImpl(getProperty(), getRange(), NO_ANNOTATIONS); }
@Override public OWLDataPropertyRangeAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLDataPropertyRangeAxiomImpl(getProperty(), getRange(), NO_ANNOTATIONS); }
@Override public OWLAxiom getAnnotatedAxiom(Set<OWLAnnotation> annotations) { return new OWLDataPropertyRangeAxiomImpl(getProperty(), getRange(), mergeAnnos(annotations)); }
@Override public OWLSubClassOfAxiom asOWLSubClassOfAxiom() { OWLClassExpression sup = new OWLDataAllValuesFromImpl(getProperty(), getRange()); return new OWLSubClassOfAxiomImpl(OWL_THING, sup, NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLDataPropertyRangeAxiomImpl(getProperty(), getRange(), mergeAnnos(anns)); }
@Override @SuppressWarnings("unchecked") public OWLDataPropertyRangeAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLDataPropertyRangeAxiomImpl(getProperty(), getRange(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLDataPropertyRangeAxiomImpl(getProperty(), getRange(), mergeAnnos(anns)); }
@Override public OWLSubClassOfAxiom asOWLSubClassOfAxiom() { OWLClassExpression sup = new OWLDataAllValuesFromImpl(getProperty(), getRange()); return new OWLSubClassOfAxiomImpl(InternalizedEntities.OWL_THING, sup, NO_ANNOTATIONS); } }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLDataPropertyRangeAxiomImpl(getProperty(), getRange(), mergeAnnos(anns)); }
@Override @SuppressWarnings("unchecked") public OWLDataPropertyRangeAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLDataPropertyRangeAxiomImpl(getProperty(), getRange(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLDataPropertyRangeAxiomImpl(getProperty(), getRange(), mergeAnnos(anns)); }
@Override public OWLSubClassOfAxiom asOWLSubClassOfAxiom() { OWLClassExpression sup = new OWLDataAllValuesFromImpl(getProperty(), getRange()); return new OWLSubClassOfAxiomImpl(InternalizedEntities.OWL_THING, sup, NO_ANNOTATIONS); } }
public OWLDataPropertyRangeAxiom getAxiomWithoutAnnotations() { if(!isAnnotated()) { return this; } return getOWLDataFactory().getOWLDataPropertyRangeAxiom(getProperty(), getRange()); }
public static void serialize(SerializationStreamWriter streamWriter, OWLDataPropertyRangeAxiomImpl instance) throws SerializationException { CustomFieldSerializerUtil.serializeAnnotations(instance, streamWriter); streamWriter.writeObject(instance.getProperty()); streamWriter.writeObject(instance.getRange()); }