public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property, Set<? extends OWLAnnotation> annotations) { return new OWLIrreflexiveObjectPropertyAxiomImpl(this, property, annotations); }
@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); }
@Nonnull @Override public OWLIrreflexiveObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), NO_ANNOTATIONS); }
@Override public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom( OWLObjectPropertyExpression property, Collection<OWLAnnotation> annotations) { checkNotNull(property, PROPERTY_CANNOT_BE_NULL); checkAnnotations(annotations); return new OWLIrreflexiveObjectPropertyAxiomImpl(property, annotations); }
@Override public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom( OWLObjectPropertyExpression property, Collection<OWLAnnotation> annotations) { checkNotNull(property, PROPERTY_CANNOT_BE_NULL); checkAnnotations(annotations); return new OWLIrreflexiveObjectPropertyAxiomImpl(property, annotations); }
@Override public OWLIrreflexiveObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLIrreflexiveObjectPropertyAxiomImpl(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 @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), mergeAnnos(anns)); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), mergeAnnos(anns)); }
@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 @SuppressWarnings("unchecked") public OWLIrreflexiveObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), NO_ANNOTATIONS); }
@Override public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom( OWLObjectPropertyExpression property, Collection<OWLAnnotation> annotations) { checkNotNull(property, PROPERTY_CANNOT_BE_NULL); checkAnnotations(annotations); return new OWLIrreflexiveObjectPropertyAxiomImpl(property, annotations); }
@Override public OWLIrreflexiveObjectPropertyAxiom getAnnotatedAxiom(Set<OWLAnnotation> annotations) { return new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), mergeAnnos(annotations)); }
@Override public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom( OWLObjectPropertyExpression property, Collection<OWLAnnotation> annotations) { checkNotNull(property, PROPERTY_CANNOT_BE_NULL); checkAnnotations(annotations); return new OWLIrreflexiveObjectPropertyAxiomImpl(property, annotations); }
@Override @SuppressWarnings("unchecked") public OWLIrreflexiveObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), NO_ANNOTATIONS); }
@Override public OWLIrreflexiveObjectPropertyAxiom getAnnotatedAxiom( Set<OWLAnnotation> annotations) { return new OWLIrreflexiveObjectPropertyAxiomImpl(getProperty(), mergeAnnos(annotations)); }
public static OWLIrreflexiveObjectPropertyAxiomImpl instantiate(SerializationStreamReader streamReader) throws SerializationException { Set<OWLAnnotation> annotations = CustomFieldSerializerUtil.deserializeAnnotations(streamReader); OWLObjectPropertyExpression prop = (OWLObjectPropertyExpression) streamReader.readObject(); return new OWLIrreflexiveObjectPropertyAxiomImpl(prop, annotations); }
@Override public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property, Set<? extends OWLAnnotation> annotations) { checkNull(property, "property"); checkNull(annotations, ANNOTATIONS, true); return new OWLIrreflexiveObjectPropertyAxiomImpl(property, annotations); }