Package org.cytoscape.model
Enum CyTable.Mutability
- java.lang.Object
-
- java.lang.Enum<CyTable.Mutability>
-
- 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
Enum Constants Enum Constant Description IMMUTABLE_DUE_TO_VIRT_COLUMN_REFERENCES
The table can not be deleted because it currently has virtualCyColumn
s referencing it.MUTABLE
The table can be deleted.PERMANENTLY_IMMUTABLE
The table can not be deleted.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 virtualCyColumn
s 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 nameNullPointerException
- if the argument is null
-
toString
public final String toString()
- Overrides:
toString
in classEnum<CyTable.Mutability>
-
-