es.prodevelop.gvsig.mobile.fmap.driver
Class FieldDescription

java.lang.Object
  extended byes.prodevelop.gvsig.mobile.fmap.driver.FieldDescription

public class FieldDescription
extends java.lang.Object

This class stores the metadata of a particular field

Author:
iver

Constructor Summary
FieldDescription()
           
 
Method Summary
 FieldDescription cloneField()
           
 com.hardcode.gdbms.engine.values.Value getDefaultValue()
           
 java.lang.String getFieldAlias()
           
 int getFieldDecimalCount()
           
 int getFieldLength()
           
 java.lang.String getFieldName()
           
 int getFieldType()
           
 void setDefaultValue(com.hardcode.gdbms.engine.values.Value defaultValue)
           
 void setFieldAlias(java.lang.String fieldAlias)
           
 void setFieldDecimalCount(int fieldDecimalCount)
           
 void setFieldLength(int fieldLength)
           
 void setFieldName(java.lang.String fieldName)
           
 void setFieldType(int fieldType)
           
static int stringToType(java.lang.String strType)
           
static java.lang.String typeToString(int sqlType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldDescription

public FieldDescription()
Method Detail

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)