Search in sources :

Example 16 with CyColumn

use of org.cytoscape.model.CyColumn in project cytoscape-api by cytoscape.

the class AbstractCyRootNetworkTest method testGetNodeSharedNameColumn.

@Test
public void testGetNodeSharedNameColumn() {
    CyTable shared = root.getSharedNodeTable();
    CyColumn col = shared.getColumn(CyRootNetwork.SHARED_NAME);
    assertNotNull(col);
    assertEquals(String.class, col.getType());
}
Also used : CyTable(org.cytoscape.model.CyTable) CyColumn(org.cytoscape.model.CyColumn) Test(org.junit.Test)

Aggregations

CyColumn (org.cytoscape.model.CyColumn)16 CyRow (org.cytoscape.model.CyRow)10 CyTable (org.cytoscape.model.CyTable)10 ArrayList (java.util.ArrayList)9 List (java.util.List)6 Test (org.junit.Test)4 Arrays (java.util.Arrays)3 Collections (java.util.Collections)3 HashMap (java.util.HashMap)3 Map (java.util.Map)3 Collectors (java.util.stream.Collectors)3 CyNetwork (org.cytoscape.model.CyNetwork)3 CyColumnIdentifier (org.cytoscape.view.presentation.property.values.CyColumnIdentifier)3 ImmutableSet (com.google.common.collect.ImmutableSet)2 File (java.io.File)2 IOException (java.io.IOException)2 Comparator (java.util.Comparator)2 Set (java.util.Set)2 Inject (javax.inject.Inject)2 CyNetworkManager (org.cytoscape.model.CyNetworkManager)2