es.prodevelop.gvsig.mobile.fmap.driver.vect.dbf
Class DbfFieldInfo
java.lang.Object
es.prodevelop.gvsig.mobile.fmap.driver.vect.dbf.DbfFieldInfo
- public class DbfFieldInfo
- extends java.lang.Object
Utility class to store the metadata of a single field.
- Author:
- jldominguez
- See Also:
Types
Constructor Summary |
DbfFieldInfo(int _type,
java.lang.String _name,
int _w,
int _ndec)
Constructor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbfFieldInfo
public DbfFieldInfo(int _type,
java.lang.String _name,
int _w,
int _ndec)
- Constructor.
- Parameters:
_type
- field type_name
- field name_w
- field width_ndec
- number of decimal positions of this field (only
makes sense if it's a numeric field.)
getName
public java.lang.String getName()
- Returns:
- the field name
getNDecimals
public int getNDecimals()
- Returns:
- the number of decimal positions
getType
public int getType()
- Returns:
- the field type
getWidth
public int getWidth()
- Returns:
- the field width