public static class DBView.DBViewColumn extends DBColumn
| Modifier and Type | Field and Description |
|---|---|
protected DataType |
dataType |
protected DBColumnExpr |
expr |
protected double |
size |
protected DBColumn |
updateColumn |
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| Modifier | Constructor and Description |
|---|---|
protected |
DBViewColumn(DBView view,
String name,
DBColumnExpr expr,
double size)
Constructs a DBViewColumn object set the specified parameters to this object.
|
| Modifier and Type | Method and Description |
|---|---|
Element |
addXml(Element parent,
long flags)
Appends column meta information to the parent element
|
Object |
getAttribute(String name)
Returns the value of a column attribute.
|
DataType |
getDataType()
Returns the data type of this column expression.
|
Options |
getOptions()
Returns the list of options for this column
containing all possible field values.
|
double |
getSize()
Returns the size of the column.
|
DBColumnExpr |
getSourceColumnExpr() |
DBView |
getView() |
boolean |
isAutoGenerated()
Returns true if column is a columns value is an automatically generated value
|
boolean |
isReadOnly()
Returns true if the column is read-only.
|
boolean |
isRequired()
Returns true if the column is required.
|
Object |
validateValue(Object value)
Checks if the given value is a valid value for this column
If not, an exception is thrown
|
addReferencedColumns, addSQL, 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, 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, getTitleprotected final DBColumnExpr expr
protected final DataType dataType
protected final DBColumn updateColumn
protected final double size
protected DBViewColumn(DBView view, String name, DBColumnExpr expr, double size)
view - the DBView objectexpr - the DBColumnExpr of the source tablepublic DBColumnExpr getSourceColumnExpr()
public DBView getView()
public DataType getDataType()
DBColumnExprgetDataType in interface ColumnExprgetDataType in class DBColumnExprDataTypepublic double getSize()
DBColumnpublic boolean isAutoGenerated()
DBColumnisAutoGenerated in interface ColumnisAutoGenerated in class DBColumnpublic boolean isReadOnly()
DBColumnisReadOnly in interface ColumnisReadOnly in class DBColumnpublic boolean isRequired()
DBColumnisRequired in interface ColumnisRequired in class DBColumnpublic Object getAttribute(String name)
DBColumnExprgetAttribute in interface ColumnExprgetAttribute in class DBColumnname - the attribute nameDBColumnExpr.getAttribute(String)public Options getOptions()
DBColumnExprgetOptions in interface ColumnExprgetOptions in class DBColumnDBColumnExpr.getOptions()public Object validateValue(Object value)
DBColumnvalidateValue in interface ColumnvalidateValue in class DBColumnvalue - the value to validateCopyright © 2008–2023 Apache Software Foundation. All rights reserved.