Cytoscape 3.0.0-beta1 API

org.cytoscape.model
Enum CyTable.Mutability

java.lang.Object
  extended by java.lang.Enum<CyTable.Mutability>
      extended by org.cytoscape.model.CyTable.Mutability
All Implemented Interfaces:
Serializable, Comparable<CyTable.Mutability>
Enclosing interface:
CyTable

public static enum CyTable.Mutability
extends Enum<CyTable.Mutability>

Mutability of the table specifies whether or not it is able to be deleted..


Enum Constant Summary
IMMUTABLE_DUE_TO_VIRT_COLUMN_REFERENCES
          The table can not be deleted because it currently has virtual CyColumns referencing it.
MUTABLE
          The table can be deleted.
PERMANENTLY_IMMUTABLE
          The table can not be deleted.
 
Method Summary
 String toString()
           
static CyTable.Mutability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CyTable.Mutability[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MUTABLE

public static final CyTable.Mutability MUTABLE
The table can be deleted.


PERMANENTLY_IMMUTABLE

public static final CyTable.Mutability PERMANENTLY_IMMUTABLE
The table can not be deleted.


IMMUTABLE_DUE_TO_VIRT_COLUMN_REFERENCES

public static final CyTable.Mutability IMMUTABLE_DUE_TO_VIRT_COLUMN_REFERENCES
The table can not be deleted because it currently has virtual CyColumns referencing it.

Method Detail

values

public static CyTable.Mutability[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CyTable.Mutability c : CyTable.Mutability.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CyTable.Mutability valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public final String toString()
Overrides:
toString in class Enum<CyTable.Mutability>

Cytoscape 3.0.0-beta1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.