org.gcube.contentmanagement.codelistmanager.entities
Class TableField
java.lang.Object
org.gcube.contentmanagement.codelistmanager.entities.TableField
- All Implemented Interfaces:
- Comparable<TableField>
public class TableField
- extends Object
- implements Comparable<TableField>
|
Constructor Summary |
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)
|
TableField
public TableField(String id,
String fieldName,
TableField.ColumnType columnType,
org.gcube.common.dbinterface.types.Type.Types dataType,
int[] length)
TableField
public TableField(String id,
String fieldName,
ColumnReference columnReference,
org.gcube.common.dbinterface.types.Type.Types dataType,
int[] length)
TableField
public TableField(String id,
String fieldName,
ColumnReference columnReference,
org.gcube.common.dbinterface.types.Type.Types dataType)
TableField
public TableField(String id,
String fieldName,
org.gcube.common.dbinterface.types.Type.Types dataType)
getId
public String getId()
getFieldName
public String getFieldName()
setColumnReference
public void setColumnReference(ColumnReference columnReference)
- Parameters:
columnReference - the columnReference to set
setFieldName
public void setFieldName(String fieldName)
- Parameters:
fieldName - the fieldName to set
getColumnReference
public ColumnReference getColumnReference()
- Returns:
- the columnReference
getLength
public int[] getLength()
- Returns:
- the length
setLength
public void setLength(int[] length)
- Parameters:
length - the length to set
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
setDataType
public void setDataType(org.gcube.common.dbinterface.types.Type.Types dataType)
getDataType
public org.gcube.common.dbinterface.types.Type.Types getDataType()
compareTo
public int compareTo(TableField tablefield)
- Specified by:
compareTo in interface Comparable<TableField>
Copyright © 2014. All Rights Reserved.