public OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom(OWLObjectPropertyExpression propertyExpression, Set<? extends OWLAnnotation> annotations) { return new OWLAsymmetricObjectPropertyAxiomImpl(this, propertyExpression, annotations); }
@Nonnull @Override public OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom( OWLObjectPropertyExpression propertyExpression, @Nonnull Set<? extends OWLAnnotation> annotations) { checkNotNull(propertyExpression, "property cannot be null"); checkAnnotations(annotations); return new OWLAsymmetricObjectPropertyAxiomImpl(propertyExpression, annotations); }
@Nonnull @Override public OWLAsymmetricObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(), NO_ANNOTATIONS); }
@Override public OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom( OWLObjectPropertyExpression propertyExpression, Collection<OWLAnnotation> annotations) { checkNotNull(propertyExpression, PROPERTY_CANNOT_BE_NULL); checkAnnotations(annotations); return new OWLAsymmetricObjectPropertyAxiomImpl(propertyExpression, annotations); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(), mergeAnnos(anns)); } }
@Override @SuppressWarnings("unchecked") public OWLAsymmetricObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(), mergeAnnos(anns)); } }
@Override public OWLAsymmetricObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(), mergeAnnos(anns)); } }
@Override @SuppressWarnings("unchecked") public OWLAsymmetricObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(), NO_ANNOTATIONS); }
@Override @SuppressWarnings("unchecked") public OWLAsymmetricObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(), NO_ANNOTATIONS); }
@Override public OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom( OWLObjectPropertyExpression propertyExpression, Collection<OWLAnnotation> annotations) { checkNotNull(propertyExpression, PROPERTY_CANNOT_BE_NULL); checkAnnotations(annotations); return new OWLAsymmetricObjectPropertyAxiomImpl(propertyExpression, annotations); }
@Override public OWLAsymmetricObjectPropertyAxiom getAnnotatedAxiom(Set<OWLAnnotation> annotations) { return new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(), mergeAnnos(annotations)); }
@Override @SuppressWarnings("unchecked") public <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns) { return (T) new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(), mergeAnnos(anns)); } }
@Override public OWLAsymmetricObjectPropertyAxiom getAnnotatedAxiom( Set<OWLAnnotation> annotations) { return new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(), mergeAnnos(annotations)); }
@Override @SuppressWarnings("unchecked") public OWLAsymmetricObjectPropertyAxiom getAxiomWithoutAnnotations() { if (!isAnnotated()) { return this; } return new OWLAsymmetricObjectPropertyAxiomImpl(getProperty(), NO_ANNOTATIONS); }
@Override public OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom( OWLObjectPropertyExpression propertyExpression, Collection<OWLAnnotation> annotations) { checkNotNull(propertyExpression, PROPERTY_CANNOT_BE_NULL); checkAnnotations(annotations); return new OWLAsymmetricObjectPropertyAxiomImpl(propertyExpression, annotations); }
@Override public OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom( OWLObjectPropertyExpression propertyExpression, Collection<OWLAnnotation> annotations) { checkNotNull(propertyExpression, PROPERTY_CANNOT_BE_NULL); checkAnnotations(annotations); return new OWLAsymmetricObjectPropertyAxiomImpl(propertyExpression, annotations); }
public static OWLAsymmetricObjectPropertyAxiomImpl instantiate(SerializationStreamReader streamReader) throws SerializationException { Set<OWLAnnotation> annotations = CustomFieldSerializerUtil.deserializeAnnotations(streamReader); OWLObjectPropertyExpression prop = (OWLObjectPropertyExpression) streamReader.readObject(); return new OWLAsymmetricObjectPropertyAxiomImpl(prop, annotations); }
@Override public OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom(OWLObjectPropertyExpression propertyExpression, Set<? extends OWLAnnotation> annotations) { checkNull(propertyExpression, "propertyExpression"); checkNull(annotations, ANNOTATIONS, true); return new OWLAsymmetricObjectPropertyAxiomImpl(propertyExpression, annotations); }