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 classDefault 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 getConstrainedStatementbooleanif 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:AbstractConstrainbuilds and returns full SQL statement of the constraint Method getConstrainedStatement- Specified by:
getConstrainedStatementin classAbstractConstrain- Returns:
- Throws:
BindingNotFoundExceptionBindingException- See Also:
-
de.businesscode.bcdui.binding.rel.impl.AbstractConstrain#getConstrainedStatement(String,String,String)
-
mayContainChildConstraint
public boolean mayContainChildConstraint()Description copied from class:AbstractConstrainif the constraint may contain child constraint- Specified by:
mayContainChildConstraintin classAbstractConstrain- See Also:
-