com.jdc.rdb.tbl.col
Class TextColumn
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.lang.SerializableObject
|
+--com.jdc.rdb.Column
|
+--com.jdc.rdb.tbl.col.TextColumn
- All Implemented Interfaces:
- Column, Serializable
- public class TextColumn
- extends Column
TextColumn represents a table column that contains a text or String
value. All database table column text or String classes should subclass this
Column class.
The specified text column length determines the database table column type. If
the column length is less than 16 characters, the database table column type will
be DataType.CHAR. Otherwise, the database table column type will be
DataType.VARCHAR
- Version:
- 1.0
- Author:
- Jay Damon
- See Also:
- Serialized Form
| Fields inherited from interface com.jdc.db.Column |
NULL |
|
Constructor Summary |
TextColumn(String name,
int length)
Constructs a new TextColumn object for the specified column name
and length. |
TextColumn(String name,
String alias,
int length,
boolean allowNull)
Constructs a new TextColumn object for the specified column name,
alias, and length. |
|
Method Summary |
Column |
newInstance(Column column,
String alias,
boolean allowNull)
Returns a new Column instance with the specified column attributes,
alias, and allow null status. |
TextColumn
public TextColumn(String name,
int length)
- Constructs a new
TextColumn object for the specified column name
and length. Null values are allowed.
TextColumn
public TextColumn(String name,
String alias,
int length,
boolean allowNull)
- Constructs a new
TextColumn object for the specified column name,
alias, and length.
newInstance
public Column newInstance(Column column,
String alias,
boolean allowNull)
- Description copied from interface:
Column
- Returns a new
Column instance with the specified column attributes,
alias, and allow null status.
Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.