|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.empire.commons.ErrorObject
org.apache.empire.db.DBObject
org.apache.empire.db.DBExpr
org.apache.empire.db.DBColumnExpr
org.apache.empire.db.DBColumn
org.apache.empire.db.DBQuery.DBQueryColumn
public static class DBQuery.DBQueryColumn
Field Summary |
---|
Fields inherited from class org.apache.empire.db.DBColumn |
---|
DBCOLATTR_MANDATORY, DBCOLATTR_READONLY |
Fields inherited from class org.apache.empire.db.DBColumnExpr |
---|
DBCOLATTR_TITLE, DBCOLATTR_TYPE |
Fields inherited from class org.apache.empire.db.DBExpr |
---|
CTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESES, CTX_VALUE |
Constructor Summary | |
---|---|
DBQuery.DBQueryColumn(DBQuery query,
DBColumnExpr expr)
Constructs a DBQueryColumn object set the specified parameters to this object. |
Method Summary | |
---|---|
org.w3c.dom.Element |
addXml(org.w3c.dom.Element parent,
long flags)
Add a description of this column with relevant metadata to the supplied parent XML Element. |
boolean |
checkValue(java.lang.Object value)
|
java.lang.Object |
getAttribute(java.lang.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 possbile field values. |
double |
getSize()
Returns the size of the column. |
boolean |
isReadOnly()
Returns true if the column is read-only. |
boolean |
isRequired()
Returns true if the column is required. |
Methods inherited from class org.apache.empire.db.DBColumn |
---|
addReferencedColumns, addSQL, getComment, getDatabase, getFullName, getName, getRowSet, getUpdateColumn, isAggregate, setComment, to, toString |
Methods inherited from class org.apache.empire.db.DBColumnExpr |
---|
abs, append, as, as, avg, cmp, coalesce, convertTo, convertTo, count, countDistinct, day, decode, decode, decode, decode, decode, decode, divideBy, getBeanPropertyName, getControlType, getSourceColumn, getTitle, in, indexOf, indexOf, indexOf, is, isBetween, isGreaterThan, isLessOrEqual, isMoreOrEqual, isNot, isNotBetween, isSmallerThan, length, like, like, likeLower, likeUpper, lower, max, min, minus, minus, month, multiplyWith, 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, year |
Methods inherited from class org.apache.empire.db.DBExpr |
---|
getValueClass |
Methods inherited from class org.apache.empire.commons.ErrorObject |
---|
clearError, getErrorMessage, getErrorParams, getErrorSource, getErrorType, getMessage, hasError, isExceptionsEnabled, setExceptionsEnabled |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.empire.data.ColumnExpr |
---|
getBeanPropertyName, getControlType, getSourceColumn, getTitle |
Constructor Detail |
---|
public DBQuery.DBQueryColumn(DBQuery query, DBColumnExpr expr)
query
- the DBQuery objectexpr
- the concrete DBColumnExpr objectMethod Detail |
---|
public DataType getDataType()
DBColumnExpr
getDataType
in interface ColumnExpr
getDataType
in class DBColumnExpr
DataType
public double getSize()
DBColumn
getSize
in interface Column
getSize
in class DBColumn
public boolean isReadOnly()
DBColumn
isReadOnly
in interface Column
isReadOnly
in class DBColumn
public boolean isRequired()
DBColumn
isRequired
in interface Column
isRequired
in class DBColumn
public boolean checkValue(java.lang.Object value)
checkValue
in class DBColumn
public java.lang.Object getAttribute(java.lang.String name)
DBColumnExpr
getAttribute
in interface ColumnExpr
getAttribute
in class DBColumn
name
- the attribute name
DBColumnExpr.getAttribute(String)
public Options getOptions()
DBColumnExpr
getOptions
in interface ColumnExpr
getOptions
in class DBColumn
DBColumnExpr.getOptions()
public org.w3c.dom.Element addXml(org.w3c.dom.Element parent, long flags)
DBColumnExpr
addXml
in class DBColumn
parent
- the parent element to which to append the column descriptionflags
- currenly not used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |