Class CombinedConstraintImpl
java.lang.Object
de.businesscode.bcdui.binding.rel.impl.AbstractConstrain
de.businesscode.bcdui.binding.rel.impl.CombinedConstraintImpl
The class represents combined SQL constraints, like AND OR
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Default implementation ofNested classes/interfaces inherited from class de.businesscode.bcdui.binding.rel.impl.AbstractConstrain
AbstractConstrain.Type
-
Field Summary
Fields inherited from class de.businesscode.bcdui.binding.rel.impl.AbstractConstrain
MAINTABLE_SQLALIAS_PATTERN, MAINTABLE_SQLALIAS_PLACEHOLDER, OPER_REPL, REGEXP_OPER_REPL
-
Constructor Summary
ConstructorsConstructorDescriptionCombinedConstraintImpl
(AbstractConstrain.Type pType, boolean negate) CombinedConstraintImpl -
Method Summary
Modifier and TypeMethodDescriptiongetConstrainedStatement
(String mainTableAlias, boolean isForJoinToCaseWhen) builds and returns full SQL statement of the constraint Method getConstrainedStatementboolean
if the constraint may contain child constraintMethods inherited from class de.businesscode.bcdui.binding.rel.impl.AbstractConstrain
addChildConstraint, addColumn, getChildConstraints, getColumns, getName, getNumParts, getStatement, getType, insertMainTableAlias, isNegate, setNegate, setStatement, setType, toString
-
Constructor Details
-
CombinedConstraintImpl
CombinedConstraintImpl- Parameters:
pType
-negate
-
-
-
Method Details
-
getConstrainedStatement
public String getConstrainedStatement(String mainTableAlias, boolean isForJoinToCaseWhen) throws BindingException Description copied from class:AbstractConstrain
builds and returns full SQL statement of the constraint Method getConstrainedStatement- Specified by:
getConstrainedStatement
in classAbstractConstrain
- Returns:
- Throws:
BindingNotFoundException
BindingException
- See Also:
-
de.businesscode.bcdui.binding.rel.impl.AbstractConstrain#getConstrainedStatement(String,String,String)
-
mayContainChildConstraint
public boolean mayContainChildConstraint()Description copied from class:AbstractConstrain
if the constraint may contain child constraint- Specified by:
mayContainChildConstraint
in classAbstractConstrain
- See Also:
-