Cytoscape 3.0.1 API

org.cytoscape.model
Interface CyTableMetadata


public interface CyTableMetadata

A snapshot of information about a relationship shared between a CyTable instance and an associated CyNetworks. The interface is used to capture table information for serialization and shouldn't be needed for most normal use of tables.


Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.

Method Summary
 String getNamespace()
          Returns the namespace used as the key to this object's table in CyNetworkTableManager.getTables(org.cytoscape.model.CyNetwork, java.lang.Class).
 CyNetwork getNetwork()
          Returns all the networks associated with this object's table.
 CyTable getTable()
          Returns the table whose metadata is described by this instance.
 Class<?> getType()
          Returns the type of the data associated with this object's table.
 

Method Detail

getType

Class<?> getType()
Returns the type of the data associated with this object's table. This is typically either CyNetwork.class, CyNode.class, or CyEdge.class.

Returns:
the type of the data associated with this object's table.

getTable

CyTable getTable()
Returns the table whose metadata is described by this instance.

Returns:
the table whose metadata is described by this instance.

getNetwork

CyNetwork getNetwork()
Returns all the networks associated with this object's table.

Returns:
all the networks associated with this object's table.

getNamespace

String getNamespace()
Returns the namespace used as the key to this object's table in CyNetworkTableManager.getTables(org.cytoscape.model.CyNetwork, java.lang.Class).

Returns:
the namespace used as the key to this object's table in CyNetworkTableManager.getTables(org.cytoscape.model.CyNetwork, java.lang.Class).

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.