es.prodevelop.gvsig.mobile.fmap.driver
Class FieldDescription
java.lang.Object
es.prodevelop.gvsig.mobile.fmap.driver.FieldDescription
- public class FieldDescription
- extends java.lang.Object
This class stores the metadata of a particular field
- Author:
- iver
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldDescription
public FieldDescription()
stringToType
public static int stringToType(java.lang.String strType)
typeToString
public static java.lang.String typeToString(int sqlType)
getFieldDecimalCount
public int getFieldDecimalCount()
- Returns:
- Returns the fieldDecimalCount.
setFieldDecimalCount
public void setFieldDecimalCount(int fieldDecimalCount)
- Parameters:
fieldDecimalCount
- The fieldDecimalCount to set.
getFieldLength
public int getFieldLength()
- Returns:
- Returns the fieldLength.
setFieldLength
public void setFieldLength(int fieldLength)
- Parameters:
fieldLength
- The fieldLength to set.
getFieldName
public java.lang.String getFieldName()
- Returns:
- Returns the fieldName.
setFieldName
public void setFieldName(java.lang.String fieldName)
- Parameters:
fieldName
- The fieldName to set.
getFieldType
public int getFieldType()
- Returns:
- Returns the fieldType.
setFieldType
public void setFieldType(int fieldType)
- Parameters:
fieldType
- The fieldType to set.
getFieldAlias
public java.lang.String getFieldAlias()
setFieldAlias
public void setFieldAlias(java.lang.String fieldAlias)
cloneField
public FieldDescription cloneField()
getDefaultValue
public com.hardcode.gdbms.engine.values.Value getDefaultValue()
setDefaultValue
public void setDefaultValue(com.hardcode.gdbms.engine.values.Value defaultValue)