Package org.openbel.framework.common.protonetwork.model.StatementAnnotationMapTable

Examples of org.openbel.framework.common.protonetwork.model.StatementAnnotationMapTable.AnnotationPair


        for (Annotation a : annotationMapValues) {
            int adid =
                    adt.getDefinitionIndex().get(
                            new TableAnnotationDefinition(a.getDefinition()));
            int aid = avt.addAnnotationValue(adid, a.getValue());
            valueDefinitions.add(new AnnotationPair(adid, aid));
        }

        return valueDefinitions;
    }
View Full Code Here


                                .get(ap.getAnnotationValueId());
                int newavid = protoNetwork1.getAnnotationValueTable()
                        .addAnnotationValue(newadid,
                                av.getAnnotationValue());

                newaps.add(new AnnotationPair(newadid, newavid));
            }
        }

        // set new annotation pairs against new statement index
        protoNetwork1.getStatementAnnotationMapTable().addStatementAnnotation(
View Full Code Here

TOP

Related Classes of org.openbel.framework.common.protonetwork.model.StatementAnnotationMapTable.AnnotationPair

Copyright © 2018 www.massapicom. 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.