@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLAnnotationPropertyDomainAxiomImpl(getProperty(), getDomain(), mergeAnnos(anns)); }
@Override public OWLAnnotationPropertyDomainAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLAnnotationPropertyDomainAxiomImpl(getProperty(), getDomain(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public OWLAnnotationPropertyDomainAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLAnnotationPropertyDomainAxiomImpl(getProperty(), getDomain(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLAnnotationPropertyDomainAxiomImpl(getProperty(), getDomain(), mergeAnnos(anns)); }
@Override @SuppressWarnings("unchecked") public OWLAnnotationPropertyDomainAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLAnnotationPropertyDomainAxiomImpl(getProperty(), getDomain(), NO_ANNOTATIONS); }
@Override public OWLAnnotationPropertyDomainAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLAnnotationPropertyDomainAxiomImpl(getProperty(), getDomain(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLAnnotationPropertyDomainAxiomImpl(getProperty(), getDomain(), mergeAnnos(anns)); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLAnnotationPropertyDomainAxiomImpl(getProperty(), getDomain(), mergeAnnos(anns)); }
@Override @SuppressWarnings("unchecked") public OWLAnnotationPropertyDomainAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLAnnotationPropertyDomainAxiomImpl(getProperty(), getDomain(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public OWLAnnotationPropertyDomainAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLAnnotationPropertyDomainAxiomImpl(getProperty(), getDomain(), NO_ANNOTATIONS); }
@Override public OWLAnnotationPropertyDomainAxiom getAnnotatedAxiom(Set<OWLAnnotation> annotations) { return new OWLAnnotationPropertyDomainAxiomImpl(getProperty(), getDomain(), mergeAnnos(annotations)); }
@Override public OWLAnnotationPropertyDomainAxiom getAnnotatedAxiom( Set<OWLAnnotation> annotations) { return new OWLAnnotationPropertyDomainAxiomImpl(getProperty(), getDomain(), mergeAnnos(annotations)); }
public OWLAnnotationPropertyDomainAxiom getAxiomWithoutAnnotations() { if(!isAnnotated()) { return this; } return getOWLDataFactory().getOWLAnnotationPropertyDomainAxiom(getProperty(), getDomain()); }
public static void serialize(SerializationStreamWriter streamWriter, OWLAnnotationPropertyDomainAxiomImpl instance) throws SerializationException { CustomFieldSerializerUtil.serializeAnnotations(instance, streamWriter); streamWriter.writeObject(instance.getProperty()); streamWriter.writeObject(instance.getDomain()); }
public OWLAnnotationPropertyDomainAxiom getAnnotatedAxiom(Set<OWLAnnotation> annotations) { return getOWLDataFactory().getOWLAnnotationPropertyDomainAxiom(getProperty(), getDomain(), mergeAnnos(annotations)); }