protected static class DBCommandExpr.DBCmdColumn extends DBColumn
attributes, beanPropertyName, DBCOLATTR_TITLE, DBCOLATTR_TYPE, optionsCTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESIS, CTX_VALUECOLATTR_CURRENCY_CODE, COLATTR_DATETIMEPATTERN, COLATTR_ENUMTYPE, COLATTR_FRACTION_DIGITS, COLATTR_INTEGER_DIGITS, COLATTR_MAXVALUE, COLATTR_MINLENGTH, COLATTR_MINVALUE, COLATTR_NULLTEXT, COLATTR_NUMBER_GROUPSEP, COLATTR_NUMBER_TYPE, COLATTR_REGEXP, COLATTR_TITLE, COLATTR_TOOLTIP, COLATTR_TYPE| Constructor and Description |
|---|
DBCmdColumn(DBRowSet query,
DBColumnExpr expr)
Constructs a new DBCmdColumn object
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSQL(DBSQLBuilder sql,
long context)
create the SQL-Command set the expression name to the SQL-Command
|
Element |
addXml(Element parent,
long flags)
Adds the expression definition to the xml element.
|
Object |
getAttribute(String name)
Get Attributes of underlying table column.
|
DataType |
getDataType()
Returns the data type of the DBColumnExpr object.
|
Options |
getOptions()
Get Options of underlying table column.
|
double |
getSize()
Not applicable - always returns 0.
|
boolean |
isAutoGenerated()
Not applicable - always returns false
|
boolean |
isReadOnly()
Not applicable - always returns true
|
boolean |
isRequired()
Checks whether the column is mandatory.
|
Object |
validateValue(Object value)
Not applicable - always return the value.
|
addReferencedColumns, coalesceColumn, decodeEnum, decodeSort, equals, getAlias, getAttributes, getComment, getDatabase, getEntityType, getEnumType, getFullName, getIdentifier, getJavaType, getName, getRowSet, getUpdateColumn, hashCode, isAggregate, isEnum, qualified, reference, setComment, to, toStringabs, aggregate, append, as, as, asc, avg, ceiling, cmp, coalesce, concat, concat, convertTo, convertTo, count, countDistinct, day, decode, decode, decode, decode, decode, decode, decodeEnum, decodeSort, desc, divideBy, floor, format, function, getBeanPropertyName, getControlType, getExprFromPhrase, getExprFromPhrase, getSourceColumn, getTitle, in, in, in, indexOf, indexOf, indexOf, is, isBetween, isGreaterThan, isLessOrEqual, isMoreOrEqual, isNot, isNotBetween, isSmallerThan, length, like, like, likeLower, likeUpper, lower, max, min, minus, minus, modulo, month, multiplyWith, notIn, notIn, notIn, notLike, nvl, on, parenthesis, plus, plus, prepend, replace, reverse, round, setAttribute, setBeanPropertyName, setControlType, setOptions, setTitle, stringAgg, stringAgg, substring, substring, substring, substring, substring, substring, sum, toChar, toChar, trim, trimLeft, trimRight, trunc, upper, when, yearcheckParamNullclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBeanPropertyName, getControlType, getSourceColumn, getTitlepublic DBCmdColumn(DBRowSet query, DBColumnExpr expr)
query - the row setexpr - the columnpublic void addSQL(DBSQLBuilder sql, long context)
public DataType getDataType()
getDataType in interface ColumnExprgetDataType in class DBColumnExprDataTypepublic double getSize()
public boolean isReadOnly()
isReadOnly in interface ColumnisReadOnly in class DBColumnpublic boolean isAutoGenerated()
isAutoGenerated in interface ColumnisAutoGenerated in class DBColumnpublic boolean isRequired()
isRequired in interface ColumnisRequired in class DBColumnpublic Object getAttribute(String name)
getAttribute in interface ColumnExprgetAttribute in class DBColumnname - the attribute nameDBColumnExpr.getAttribute(String)public Options getOptions()
getOptions in interface ColumnExprgetOptions in class DBColumnDBColumnExpr.getOptions()public Object validateValue(Object value)
validateValue in interface ColumnvalidateValue in class DBColumnvalue - the value to validateCopyright © 2008–2023 Apache Software Foundation. All rights reserved.