Package de.businesscode.bcdui.binding
Class BindingItemFromRel
java.lang.Object
de.businesscode.bcdui.binding.SimpleBindingItem
de.businesscode.bcdui.binding.BindingItem
de.businesscode.bcdui.binding.BindingItemFromRel
Represents a BindingItem coming form a BindingSet Relation
-
Field Summary
Fields inherited from class de.businesscode.bcdui.binding.SimpleBindingItem
BCD_NO_TABLE_ALIAS, columnExpression, pureColumnNamePattern, qColumnExpr, wordPattern
-
Constructor Summary
ConstructorsConstructorDescriptionBindingItemFromRel
(BindingItem src, Relation relation, String id, String importCaption) -
Method Summary
Modifier and TypeMethodDescriptiongetQColumnExpression
(String tableAlias) Helper to merge a table alias into a column expression, which can contain SQL functions etc Method calcQColumnExpressiongetTableAlias
(String mainTableAlias) Returns the table alias of either the main table or the relation, depending on where the source BindingItem belongs toMethods inherited from class de.businesscode.bcdui.binding.BindingItem
getAggr, getAttributes, getCaption, getColumnExpression, getCustomAttributesMap, getDisplayFormat, getDisplayFormatAsNode, getJDBCColumnDisplaySize, getJDBCColumnScale, getJDBCDataType, getJDBCDataTypeName, getJDBCNullable, getJDBCSigned, getReferences, getReferencesAsNode, isDefinedJDBCDataType, isEscapeXML, isKey, isNumeric, isReadOnly, setAggr, setCaption, setDisplayFormat, setEscapeXML, setJDBCColumnDisplaySize, setJDBCColumnScale, setJDBCDataType, setJDBCDataTypeName, setJDBCNullable, setJDBCSigned, setKey, setReadOnly, setReferences, toString, toXML
Methods inherited from class de.businesscode.bcdui.binding.SimpleBindingItem
getBindingSet, getDescription, getId, isColumnQuoting, setBindingSet, setColumnExpression, setDescription, setId
-
Constructor Details
-
BindingItemFromRel
- Parameters:
src
- - Corresponding BindingItem in related BindingSetrelation
-id
- - is with relation prefix when from a default importimportCaption
- - In a Relation we can overwrite the imported BindingItem's caption
-
-
Method Details
-
getRelation
-
getReferencedBindingItem
-
getQColumnExpression
Description copied from class:SimpleBindingItem
Helper to merge a table alias into a column expression, which can contain SQL functions etc Method calcQColumnExpression- Overrides:
getQColumnExpression
in classSimpleBindingItem
-
getTableAlias
Returns the table alias of either the main table or the relation, depending on where the source BindingItem belongs to- Parameters:
mainTableAlias
-- Returns:
- Throws:
BindingNotFoundException
-