public static class DBView.DBViewColumn extends DBColumn
| Modifier and Type | Field and Description |
|---|---|
protected DBColumnExpr |
expr |
protected double |
size |
protected DBColumn |
updateColumn |
comment, DBCOLATTR_SINGLEBYTECHARS, name, rowsetattributes, beanPropertyName, DBCOLATTR_TITLE, DBCOLATTR_TYPE, optionsCTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESES, CTX_VALUECOLATTR_CURRENCY_CODE, COLATTR_DATETIMEPATTERN, COLATTR_ENUMTYPE, COLATTR_FRACTION_DIGITS, COLATTR_INTEGER_DIGITS, COLATTR_MAXVALUE, COLATTR_MINLENGTH, COLATTR_MINVALUE, 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)
Add a description of this column with relevant metadata
to the supplied parent XML 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 |
validate(Object value)
Checks if the given value is a valid value for this column
If not, an exception is thrown
|
addReferencedColumns, addSQL, checkValue, decodeEnum, decodeSort, equals, findById, getAlias, getComment, getDatabase, getEnumType, getFullName, getId, getName, getRowSet, getUpdateColumn, hashCode, isAggregate, isEnum, qualified, setComment, to, toStringabs, append, as, as, asc, avg, ceiling, cmp, coalesce, convertTo, convertTo, count, countDistinct, day, decode, decode, decode, decode, decode, decode, decodeEnum, decodeSort, desc, divideBy, floor, format, 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, parenthesis, plus, plus, replace, reverse, round, setAttribute, setBeanPropertyName, setControlType, setOptions, setTitle, substring, substring, substring, substring, substring, substring, sum, toChar, toChar, trim, trimLeft, trimRight, trunc, upper, when, yeargetObjectValue, getValueClassclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBeanPropertyName, getControlType, getSourceColumn, getTitleprotected final DBColumnExpr expr
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 validate(Object value)
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 Element addXml(Element parent, long flags)
DBColumnExprCopyright © 2008–2022 Apache Software Foundation. All rights reserved.