| java.lang.Object jimm.datavision.source.Column
All known Subclasses: jimm.datavision.source.sql.SQLColumn, jimm.datavision.source.ncsql.NCColumn,
DEFAULT_DATE_PARSE_FORMAT | final public static String DEFAULT_DATE_PARSE_FORMAT(Code) | | |
equals | public boolean equals(Object obj)(Code) | | Returns true if the other object is a column with the
same id.
Parameters: obj - any Object true if the other object is a column with thesame id. |
fullName | public String fullName()(Code) | | Returns the full named of this column: the id as a string. The column's
name may not be unique, but the full name should be unique.
For SQL columns, this is a string of the form "table_name.column_name".
To retrieve just the column name, use getName .
the full name; this is the same as the id as a string See Also: Column.getName |
getDateParseFormat | public String getDateParseFormat()(Code) | | Returns the date parse format, useful for data sources that read text
strings and convert them into date objects. If no format has been
defined, returns DEFAULT_DATE_PARSE_FORMAT
the date parse format string (if not defined, returnsDEFAULT_DATE_PARSE_FORMAT ) |
getId | public Object getId()(Code) | | Returns the table id. This is a string of the form
"table_name.column_name".
the id string |
getName | public String getName()(Code) | | Returns the column's name. The name may not be unique. To retrieve
a unique name (for example, "table.column"), use fullName .
the column's name See Also: Column.fullName |
getTable | public Table getTable()(Code) | | Returns the table to which this column belongs, if any.
the table, or null if there is none |
getType | public int getType()(Code) | | Returns the type constant (a java.sql.Types value).
a java.sql.Types value See Also: java.sql.Types |
hashCode | public int hashCode()(Code) | | |
isDate | public boolean isDate()(Code) | | Returns true if this column is some date type.
true if this column is some date type |
isNumeric | public boolean isNumeric()(Code) | | Returns true if this column is some numeric type
(double, int, etc.)
true if this column is some numeric type(double, int, etc.) |
isString | public boolean isString()(Code) | | Returns true if this column is some character type.
true if this column is some character type |
setDateParseFormat | public void setDateParseFormat(String format)(Code) | | Sets the date parse format, useful for data sources that read text
strings and convert them into date objects. Called from
ReportReader.column , for example.
Parameters: format - the date parse format string |
setName | public void setName(String name)(Code) | | A column's name is immutable.
|
typeFromString | public static int typeFromString(String str)(Code) | | |
typeToString | public static String typeToString(int type)(Code) | | |
|
|