Examples of OBOTermRelationships


Examples of edu.stanford.bmir.protege.web.shared.obo.OBOTermRelationships

        }
        if(!relationshipsField.getValue().isPresent()) {
            return Optional.absent();
        }
        final OWLClassData genus = (OWLClassData) genusField.getValue().get();
        final OBOTermRelationships relationships = new OBOTermRelationships(new HashSet<OBORelationship>(relationshipsField.getValue().get()));
        return Optional.of(new OBOTermCrossProduct(genus, relationships));
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.shared.obo.OBOTermRelationships

    protected void commitChangesForEntity(OWLEntity entity) {
        if(!(entity instanceof OWLClass)) {
            return;
        }
        List<OBORelationship> relationships = editor.getValue().or(Collections.<OBORelationship>emptyList());
        getService().setRelationships(getProjectId(), (OWLClass) entity, new OBOTermRelationships(new HashSet<OBORelationship>(relationships)), new OBOTermEditorApplyChangesAsyncCallback("Your changes to the term relationships have not been applied"));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.