// replaces the label of the class public void replaceClassLabel( String uri, String newLabel, boolean activeRandomString, boolean activeTranslateString, boolean activeSynonym, int activeStringOperation) { OntClass c = modifiedModel.getOntClass(uri); if (c.getLabel("en") != null) { if (activeTranslateString) { c.setLabel(newLabel, "fr"); } else c.setLabel(newLabel, "en"); } }