/** @param consumer */ public IsObsoleteTagValueHandler(OBOConsumer consumer) { super(OBOVocabulary.IS_OBSOLETE.getName(), consumer); }
/** @param consumer */ public IDSpaceTagValueHandler(OBOConsumer consumer) { super(OBOVocabulary.ID_SPACE.getName(), consumer); }
public Set<String> getValues(OBOVocabulary key) { Set<String> values = knownTVPs.get(key.getName()); if (values == null) { values = Collections.EMPTY_SET; } return values; }
public Set<String> getValues(OBOVocabulary key) { Set<String> values = knownTVPs.get(key.getName()); if (values == null) { values = Collections.emptySet(); } return values; }
public Set<String> getValues(OBOVocabulary key) { Set<String> values = knownTVPs.get(key.getName()); if (values == null) { values = Collections.emptySet(); } return values; }
private void loadBuiltinURIs() { for (OBOVocabulary v : OBOVocabulary.values()) { uriCache.put(v.getName(), v.getIRI()); } }
private void loadBuiltinURIs() { for (OBOVocabulary v : OBOVocabulary.values()) { uriCache.put(v.getName(), v.getIRI()); } }
private void loadBuiltinURIs() { for (OBOVocabulary v : OBOVocabulary.values()) { uriCache.put(v.getName(), v.getIRI()); } }
public void setPair(OBOVocabulary key, String value) { knownTVPs.remove(key.getName()); addPair(key.getIRI(), value); }
public void handle(String currentId, String value, String qualifierBlock, String comment) { if (Boolean.parseBoolean(value)) { OWLObjectProperty prop = getOWLObjectProperty(currentId); OWLAxiom ax = getDataFactory().getOWLSymmetricObjectPropertyAxiom(prop); applyChange(new AddAxiom(getOntology(), ax)); } else { addAnnotation(currentId, OBOVocabulary.IS_SYMMETRIC.getName(), getBooleanConstant(false)); } } }
public void handle(String currentId, String value, String qualifierBlock, String comment) { if (Boolean.parseBoolean(value)) { OWLObjectProperty prop = getOWLObjectProperty(currentId); OWLAxiom ax = getDataFactory().getOWLReflexiveObjectPropertyAxiom(prop); applyChange(new AddAxiom(getOntology(), ax)); } else { addAnnotation(currentId, OBOVocabulary.IS_REFLEXIVE.getName(), getBooleanConstant(false)); } } }
@Override public void handle(String currentId, String value, String qualifierBlock, String comment) { if (Boolean.parseBoolean(value)) { OWLObjectProperty prop = getOWLObjectProperty(currentId); OWLAxiom ax = getDataFactory().getOWLReflexiveObjectPropertyAxiom(prop); applyChange(new AddAxiom(getOntology(), ax)); } else { addAnnotation(currentId, OBOVocabulary.IS_REFLEXIVE.getName(), getBooleanConstant(false)); } } }
public void handle(String currentId, String value, String qualifierBlock, String comment) { if (Boolean.parseBoolean(value)) { OWLObjectProperty prop = getOWLObjectProperty(currentId); OWLAxiom ax = getDataFactory().getOWLAsymmetricObjectPropertyAxiom(prop); applyChange(new AddAxiom(getOntology(), ax)); } else { addAnnotation(currentId, OBOVocabulary.IS_ASYMMETRIC.getName(), getBooleanConstant(false)); } } }
public void handle(String id, String value) { if (Boolean.parseBoolean(value)) { OWLObjectProperty prop = getOWLObjectProperty(id); OWLAxiom ax = getDataFactory().getOWLSymmetricObjectPropertyAxiom(prop); applyChange(new AddAxiom(getOntology(), ax)); } else { addAnnotation(id, OBOVocabulary.IS_SYMMETRIC.getName(), getBooleanConstant(false)); } } }
public void handle(String id, String value) { if (Boolean.parseBoolean(value)) { OWLObjectProperty prop = getOWLObjectProperty(id); OWLAxiom ax = getDataFactory().getOWLReflexiveObjectPropertyAxiom(prop); applyChange(new AddAxiom(getOntology(), ax)); } else { addAnnotation(id, OBOVocabulary.IS_REFLEXIVE.getName(), getBooleanConstant(false)); } } }
@Override public void handle(String currentId, String value, String qualifierBlock, String comment) { if (Boolean.parseBoolean(value)) { OWLObjectProperty prop = getOWLObjectProperty(currentId); OWLAxiom ax = getDataFactory().getOWLSymmetricObjectPropertyAxiom(prop); applyChange(new AddAxiom(getOntology(), ax)); } else { addAnnotation(currentId, OBOVocabulary.IS_SYMMETRIC.getName(), getBooleanConstant(false)); } } }
@Override public void handle(String currentId, String value, String qualifierBlock, String comment) { if (Boolean.parseBoolean(value)) { OWLObjectProperty prop = getOWLObjectProperty(currentId); OWLAxiom ax = getDataFactory().getOWLAsymmetricObjectPropertyAxiom(prop); applyChange(new AddAxiom(getOntology(), ax)); } else { addAnnotation(currentId, OBOVocabulary.IS_ASYMMETRIC.getName(), getBooleanConstant(false)); } } }
public void handle(String id, String value) { if (Boolean.parseBoolean(value)) { OWLObjectProperty prop = getOWLObjectProperty(id); OWLAxiom ax = getDataFactory().getOWLAsymmetricObjectPropertyAxiom(prop); applyChange(new AddAxiom(getOntology(), ax)); } else { addAnnotation(id, OBOVocabulary.IS_ASYMMETRIC.getName(), getBooleanConstant(false)); } } }
@Override public void handle(String currentId, String value, String qualifierBlock, String comment) { // Just register the namespace with the consumer and add it as an annotation to the ontology getConsumer().setDefaultNamespaceTagValue(value); // Add an annotation to the ontology OWLAnnotation annotation = getAnnotationForTagValuePair(OBOVocabulary.DEFAULT_NAMESPACE.getName(), value); applyChange(new AddOntologyAnnotation(getOntology(), annotation)); } }
public void handle(String currentId, String value, String qualifierBlock, String comment) { // Just register the namespace with the consumer and add it as an annotation to the ontology getConsumer().setDefaultNamespaceTagValue(value); // Add an annotation to the ontology OWLAnnotation annotation = getAnnotationForTagValuePair(OBOVocabulary.DEFAULT_NAMESPACE.getName(), value); applyChange(new AddOntologyAnnotation(getOntology(), annotation)); } }