| jimm.datavision.Expression jimm.datavision.UserColumn
UserColumn | public class UserColumn extends Expression implements Selectable(Code) | | A user column is an arbitrary expression inserted into the SQL query
and retrieved as a column value. It may contain database
column values, parameters, special values, strings, or
numbers. It can't contain formulas because their values may be
undefined when the query is run.
When used by a query, the following substitutions are made withing
the userString of a user column:
- {table_name.column_name} is replaced by the column name
table_name.column_name.
- {%special_value_name} is replaced by a special value
(report title, report run date, page number, or record number).
- {?id_number} is replaced by a parameter value (string,
number, or date).
|
MAX_DISPLAY_NAME_LENGTH | final public static int MAX_DISPLAY_NAME_LENGTH(Code) | | |
UserColumn | public UserColumn(Long id, Report report, String name)(Code) | | Constructor.
Parameters: id - the unique identifier for the new user column; ifnull , generate a new id Parameters: report - the report containing this user column Parameters: name - the user column name |
UserColumn | public UserColumn(Long id, Report report, String name, String evalString)(Code) | | Constructor. If id is null , generates a new id number.
This number is one higher than any previously-seen id number. This does
not guarantee that no later user column will be created manually
with the same id number.
Parameters: id - the unique identifier for the new user column; ifnull , generate a new id Parameters: report - the report containing this user column Parameters: name - the user column name Parameters: evalString - the string to evaulate at runtime. |
toString | public String toString()(Code) | | Returns this user column's SQL text as entered by the user.
|
|
|