net.aditsu.depeche
public class ColumnInfo extends AbstractList<Column> implements Serializable
| Modifier and Type | Method and Description |
|---|---|
Column |
get(int index) |
Column |
get(String label)
Returns a column with a given label
|
int |
getColumnIndex(String label)
Returns a column's numeric index (0-based) given its label
|
List<String> |
getColumnLabels()
Returns a wrapper list of column labels
|
List<String> |
getColumnNames()
Returns a wrapper list of column names
|
String |
getLabel(int x)
Returns a column's label given its index (0-based)
|
String |
getName(int x)
Returns a column's name given its index (0-based), use
getLabel(int) for aliases |
Table |
getTable()
Returns the common table (if applicable) that contains the columns listed in this instance
|
boolean |
hasColumn(String label)
Returns true if there is a column with the given label
|
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subListpublic Table getTable()
public int getColumnIndex(String label)
public boolean hasColumn(String label)
public String getName(int x)
getLabel(int) for aliasespublic String getLabel(int x)
public Column get(int index)
public int size()
size in interface Collection<Column>size in interface List<Column>size in class AbstractCollection<Column>