public class TableField extends Object implements Comparable<TableField>
| Modifier and Type | Class and Description |
|---|---|
static class |
TableField.ColumnType |
| Constructor and Description |
|---|
TableField(String id,
String fieldName,
ColumnReference columnReference,
org.gcube.common.dbinterface.types.Type.Types dataType) |
TableField(String id,
String fieldName,
ColumnReference columnReference,
org.gcube.common.dbinterface.types.Type.Types dataType,
int[] length) |
TableField(String id,
String fieldName,
TableField.ColumnType columnType,
org.gcube.common.dbinterface.types.Type.Types dataType,
int[] length) |
TableField(String id,
String fieldName,
org.gcube.common.dbinterface.types.Type.Types dataType) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TableField tablefield) |
boolean |
equals(Object obj) |
ColumnReference |
getColumnReference() |
org.gcube.common.dbinterface.types.Type.Types |
getDataType() |
String |
getFieldName() |
String |
getId() |
int[] |
getLength() |
int |
hashCode() |
void |
setColumnReference(ColumnReference columnReference) |
void |
setDataType(org.gcube.common.dbinterface.types.Type.Types dataType) |
void |
setFieldName(String fieldName) |
void |
setLength(int[] length) |
public TableField(String id, String fieldName, TableField.ColumnType columnType, org.gcube.common.dbinterface.types.Type.Types dataType, int[] length)
public TableField(String id, String fieldName, ColumnReference columnReference, org.gcube.common.dbinterface.types.Type.Types dataType, int[] length)
public TableField(String id, String fieldName, ColumnReference columnReference, org.gcube.common.dbinterface.types.Type.Types dataType)
public String getId()
public String getFieldName()
public void setColumnReference(ColumnReference columnReference)
columnReference - the columnReference to setpublic void setFieldName(String fieldName)
fieldName - the fieldName to setpublic ColumnReference getColumnReference()
public int[] getLength()
public void setLength(int[] length)
length - the length to setpublic void setDataType(org.gcube.common.dbinterface.types.Type.Types dataType)
public org.gcube.common.dbinterface.types.Type.Types getDataType()
public int compareTo(TableField tablefield)
compareTo in interface Comparable<TableField>Copyright © 2014. All Rights Reserved.