public void setType ( DBFDataType type ) { if ( ! type . isWriteSupported ( ) ) { throw new IllegalArgumentException ( "No support for writting " + type ) ; } this . type = type ; if ( type . getDefaultSize ( ) > 0 ) { this . length = type . getDefaultSize ( ) ; } }
Set the type for this field