Field Class

Used to represent a field in a Recordset.


There are no public constructors.

Public Methods

clone( ) returns Field
Used to create a shallow copy of the current field. Does not include the field value.
getName( ) returns String
Returns the name of the column associated with this field. Returns null if the column name is unknown.
getType( ) returns String
Returns the column type name (e.g. VARCHAR, INTEGER, BLOB, etc).
getClassName( ) returns String
Returns the Java class name that is associated with the column type. For example, most JDBC drivers map VARCHAR columns to a java.lang.String. In this case, the method would return "java.lang.String" for the field class name.
getValue( ) returns Value
Returns the value for this field.
getTable( ) returns String
getTableName( ) returns String
Returns the name of the table in which this field is found. Returns null if the table name is unknown.
isDirty( ) returns boolean
Returns true if the value for this field has changed.
toString( ) returns String
Returns the field name.
toJson( ) returns JSONObject
Returns a JSON representation of the field.