/** * Convert network metadata to CyNetwork table data. * * @param entry */ private void mapNetworkMetaData(final Entry entry) { final CyTable networkTable = network.getDefaultNetworkTable(); final Collection<Attribute> attrs = entry.getAttributes(); final Collection<ExperimentDescription> exp = entry.getExperiments(); // TODO: this takes very long time for some data sets. //mapExperiments(exp, networkTable); // Source is always unique final Source source = entry.getSource(); mapSource(source, networkTable); entry.getAvailabilities(); }
mEntry.getAttributes().add( attributeConverter.fromJaxb( jAttribute ) );
mEntry.getAttributes().add( attributeConverter.fromJaxb( jAttribute ) );
for ( Attribute mAttribute : mEntry.getAttributes() ) { jEntry.getAttributeList().getAttributes().add( attributeConverter.toJaxb( mAttribute ) );
for ( psidev.psi.mi.xml.model.Attribute mAttribute : mEntry.getAttributes() ) { jEntry.getAttributeList().getAttributes().add( attributeConverter.toJaxb( mAttribute ) );