public interface CyTableFactory
CyTable objects. This factory will be
provided as a service through Spring/OSGi.| Modifier and Type | Interface and Description |
|---|---|
static class |
CyTableFactory.InitialTableSize
A description of the initial size of the table.
|
| Modifier and Type | Method and Description |
|---|---|
CyTable |
createTable(String title,
String primaryKey,
Class<?> primaryKeyType,
boolean pub,
boolean isMutable)
Creates a CyTable object with the specified name, primary key, visibility, and mutability.
|
CyTable |
createTable(String title,
String primaryKey,
Class<?> primaryKeyType,
boolean pub,
boolean isMutable,
CyTableFactory.InitialTableSize initialSize)
Creates a CyTable object with the specified name, primary key, visibility, and mutability.
|
CyTable createTable(String title, String primaryKey, Class<?> primaryKeyType, boolean pub, boolean isMutable, CyTableFactory.InitialTableSize initialSize)
title - The name of the CyTable.primaryKey - The name primaryKey column for this table.primaryKeyType - The type of the primaryKey column for this table.pub - Whether or not the CyTable should be public.isMutable - if true, the table can be deleted later on, otherwise it can'tinitialSize - a rough guess as to the expected size of the tableCyTable with the specified name that is either public or not (see
CyTable.isPublic().CyTable createTable(String title, String primaryKey, Class<?> primaryKeyType, boolean pub, boolean isMutable)
title - The name of the CyTable.primaryKey - The name primaryKey column for this table.primaryKeyType - The type of the primaryKey column for this table.pub - Whether or not the CyTable should be public.isMutable - if true, the table can be deleted later on, otherwise it can'tCyTable with the specified name that is either public or not (see
CyTable.isPublic().Copyright 2011 Cytoscape Consortium. All rights reserved.