@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); }
public OWLAsymmetricObjectPropertyAxiom getAxiomWithoutAnnotations() { if(!isAnnotated()) { return this; } return getOWLDataFactory().getOWLAsymmetricObjectPropertyAxiom(getProperty()); }
public OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom(OWLObjectPropertyExpression propertyExpression, Set<? extends OWLAnnotation> annotations) { return new OWLAsymmetricObjectPropertyAxiomImpl(this, propertyExpression, annotations); }
public OWLAsymmetricObjectPropertyAxiom getAnnotatedAxiom(Set<OWLAnnotation> annotations) { return getOWLDataFactory().getOWLAsymmetricObjectPropertyAxiom(getProperty(), mergeAnnos(annotations)); }
public static void serialize(SerializationStreamWriter streamWriter, OWLAsymmetricObjectPropertyAxiomImpl instance) throws SerializationException { CustomFieldSerializerUtil.serializeAnnotations(instance, streamWriter); streamWriter.writeObject(instance.getProperty()); }
public boolean equals(Object obj) { if (super.equals(obj)) { return obj instanceof OWLAsymmetricObjectPropertyAxiom && getAnnotations().equals(((OWLAxiom) obj).getAnnotations()); } return false; }
@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); }
@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 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 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 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 public OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom( OWLObjectPropertyExpression propertyExpression, Collection<OWLAnnotation> annotations) { checkNotNull(propertyExpression, PROPERTY_CANNOT_BE_NULL); checkAnnotations(annotations); return new OWLAsymmetricObjectPropertyAxiomImpl(propertyExpression, annotations); }