|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CyColumn
This class describes a column in a CyTable.
Method Summary | ||
---|---|---|
Object |
getDefaultValue()
Returns the default value for the column, possibly null. |
|
Class<?> |
getListElementType()
Returns the data type of the list elements if the column type is List.class otherwise null. |
|
String |
getName()
Returns the name of the column. |
|
CyTable |
getTable()
Returns the table for this column. |
|
Class<?> |
getType()
Returns the data type of the column. |
|
|
getValues(Class<? extends T> type)
Returns all the values, some of which may be null, for this given column. |
|
VirtualColumnInfo |
getVirtualColumnInfo()
Returns information about the virtual column definition of this column. |
|
boolean |
isImmutable()
Returns true if the column is immutable i.e. |
|
boolean |
isPrimaryKey()
Returns true if the column is the primary key, otherwise false. |
|
void |
setName(String newName)
Change the name of this column. |
Method Detail |
---|
String getName()
void setName(String newName)
newName
- the new column name
IllegalArgumentException
- if the column is immutableClass<?> getType()
Class<?> getListElementType()
boolean isPrimaryKey()
boolean isImmutable()
CyTable getTable()
<T> List<T> getValues(Class<? extends T> type)
T
- the generic type of the column.type
- the datatype of this column. (You can use getType() to obtain it.)
VirtualColumnInfo getVirtualColumnInfo()
VirtualColumnInfo
.Object getDefaultValue()
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |