Class CombinedConstraintImpl
- java.lang.Object
-
- de.businesscode.bcdui.binding.rel.impl.AbstractConstrain
-
- de.businesscode.bcdui.binding.rel.impl.CombinedConstraintImpl
-
public class CombinedConstraintImpl extends AbstractConstrain
The class represents combined SQL constraints, like AND OR
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CombinedConstraintImpl.CombinedConstraint
Default implementation of-
Nested 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
Constructors Constructor Description CombinedConstraintImpl(AbstractConstrain.Type pType, boolean negate)
CombinedConstraintImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConstrainedStatement(java.lang.String mainTableAlias, boolean isForJoinToCaseWhen)
builds and returns full SQL statement of the constraint Method getConstrainedStatementboolean
mayContainChildConstraint()
if the constraint may contain child constraint-
Methods 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 Detail
-
CombinedConstraintImpl
public CombinedConstraintImpl(AbstractConstrain.Type pType, boolean negate)
CombinedConstraintImpl- Parameters:
pType
-negate
-
-
-
Method Detail
-
getConstrainedStatement
public java.lang.String getConstrainedStatement(java.lang.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:
AbstractConstrain.mayContainChildConstraint()
-
-