@Override public OWLIrreflexiveObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), mergeAnnos(anns)); }
public OWLIrreflexiveObjectPropertyAxiom getAxiomWithoutAnnotations() { if(!isAnnotated()) { return this; } return getOWLDataFactory().getOWLIrreflexiveObjectPropertyAxiom(getProperty()); }
public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property, Set<? extends OWLAnnotation> annotations) { return new OWLIrreflexiveObjectPropertyAxiomImpl(this, property, annotations); }
public OWLIrreflexiveObjectPropertyAxiom getAnnotatedAxiom(Set<OWLAnnotation> annotations) { return getOWLDataFactory().getOWLIrreflexiveObjectPropertyAxiom(getProperty(), mergeAnnos(annotations)); }
public static void serialize(SerializationStreamWriter streamWriter, OWLIrreflexiveObjectPropertyAxiomImpl instance) throws SerializationException { CustomFieldSerializerUtil.serializeAnnotations(instance, streamWriter); streamWriter.writeObject(instance.getProperty()); }
public OWLSubClassOfAxiom asOWLSubClassOfAxiom() { return getOWLDataFactory().getOWLSubClassOfAxiom( getOWLDataFactory().getOWLThing(), getOWLDataFactory().getOWLObjectComplementOf( getOWLDataFactory().getOWLObjectHasSelf(getProperty()) ) ); }
@Nonnull @Override public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom( OWLObjectPropertyExpression property, @Nonnull Set<? extends OWLAnnotation> annotations) { checkNotNull(property, "property cannot be null"); checkAnnotations(annotations); return new OWLIrreflexiveObjectPropertyAxiomImpl(property, annotations); }
@Override public OWLSubClassOfAxiom asOWLSubClassOfAxiom() { return new OWLSubClassOfAxiomImpl(OWL_THING, new OWLObjectComplementOfImpl(new OWLObjectHasSelfImpl(getProperty())), NO_ANNOTATIONS); } }
@Override @SuppressWarnings("unchecked") public OWLIrreflexiveObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), mergeAnnos(anns)); }
@Override public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom( OWLObjectPropertyExpression property, Collection<OWLAnnotation> annotations) { checkNotNull(property, PROPERTY_CANNOT_BE_NULL); checkAnnotations(annotations); return new OWLIrreflexiveObjectPropertyAxiomImpl(property, annotations); }
@Override public OWLSubClassOfAxiom asOWLSubClassOfAxiom() { return new OWLSubClassOfAxiomImpl(OWL_THING, new OWLObjectComplementOfImpl( new OWLObjectHasSelfImpl(getProperty())), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public OWLIrreflexiveObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), mergeAnnos(anns)); }
@Override public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom( OWLObjectPropertyExpression property, Collection<OWLAnnotation> annotations) { checkNotNull(property, PROPERTY_CANNOT_BE_NULL); checkAnnotations(annotations); return new OWLIrreflexiveObjectPropertyAxiomImpl(property, annotations); }
@Override public OWLSubClassOfAxiom asOWLSubClassOfAxiom() { return new OWLSubClassOfAxiomImpl(OWL_THING, new OWLObjectComplementOfImpl(new OWLObjectHasSelfImpl(getProperty())), NO_ANNOTATIONS); } }
@Override @SuppressWarnings("unchecked") public OWLIrreflexiveObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), mergeAnnos(anns)); }
@Override public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom( OWLObjectPropertyExpression property, Collection<OWLAnnotation> annotations) { checkNotNull(property, PROPERTY_CANNOT_BE_NULL); checkAnnotations(annotations); return new OWLIrreflexiveObjectPropertyAxiomImpl(property, annotations); }