Class BindingItemFromRel


public class BindingItemFromRel extends BindingItem
Represents a BindingItem coming form a BindingSet Relation
  • Constructor Details

    • BindingItemFromRel

      public BindingItemFromRel(BindingItem src, Relation relation, String id, String importCaption)
      Parameters:
      src - - Corresponding BindingItem in related BindingSet
      relation -
      id - - is with relation prefix when from a default import
      importCaption - - In a Relation we can overwrite the imported BindingItem's caption
  • Method Details

    • getRelation

      public Relation getRelation()
    • getReferencedBindingItem

      public BindingItem getReferencedBindingItem()
    • getQColumnExpression

      public String getQColumnExpression(String tableAlias)
      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 class SimpleBindingItem
    • getTableAlias

      public String getTableAlias(String mainTableAlias)
      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