|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.api.results.Column
public class Column
Configuration information for a column in a table
| Field Summary | |
|---|---|
protected java.lang.String |
columnId
|
protected int |
index
|
protected java.lang.String |
name
|
protected boolean |
selectable
|
protected java.lang.Class |
type
|
protected boolean |
visible
|
| Constructor Summary | |
|---|---|
Column(Path path,
int index,
java.lang.Class type)
Constructor that takes a Path object. |
|
Column(Path path,
java.lang.String name,
int index,
java.lang.Class type)
Constructor that takes a Path object. |
|
Column(java.lang.String name,
int index,
java.lang.Class type)
Constructor that takes a String name. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getColumnId()
|
int |
getIndex()
Gets the value of index |
java.lang.String |
getName()
Get the name (title) of the column. |
Path |
getPath()
Get the Path set by setPath(). |
java.lang.Class |
getType()
Return the type of this Column |
java.lang.String |
getTypeClsString()
Get the column type unqualified as a String |
int |
hashCode()
|
boolean |
isSelectable()
Gets the value of selectable |
boolean |
isVisible()
Gets the value of visible |
void |
setColumnId(java.lang.String columnId)
|
void |
setIndex(int index)
Sets the value of index |
void |
setSelectable(boolean selectable)
Sets the value of selectable |
void |
setVisible(boolean visible)
Sets the value of visible |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean visible
protected int index
protected java.lang.Class type
protected boolean selectable
protected java.lang.String name
protected java.lang.String columnId
| Constructor Detail |
|---|
public Column(Path path,
java.lang.String name,
int index,
java.lang.Class type)
path - a Path objectname - an optional, more human readable description of the Column that will be
returned by getName() - can be null in which case the column name (given by
path.toStringNoConstraints()) will be usedindex - the number of the columntype - the type of the column (ClassDescriptor or Class)
public Column(Path path,
int index,
java.lang.Class type)
path - a Path objectindex - the number of the columntype - the type of the column (ClassDescriptor or Class)
public Column(java.lang.String name,
int index,
java.lang.Class type)
name - a column nameindex - the number of the columntype - the type of the column (ClassDescriptor or Class)| Method Detail |
|---|
public java.lang.String getColumnId()
public void setColumnId(java.lang.String columnId)
columnId - the columnId to setpublic boolean isSelectable()
public void setSelectable(boolean selectable)
selectable - value to assign to selectablepublic boolean isVisible()
public void setVisible(boolean visible)
visible - value to assign to visiblepublic int getIndex()
public void setIndex(int index)
index - value to assign to indexpublic java.lang.Class getType()
public java.lang.String getTypeClsString()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic Path getPath()
public java.lang.String getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||