Class IsLikeConstraintImpl
java.lang.Object
de.businesscode.bcdui.binding.rel.impl.AbstractConstrain
de.businesscode.bcdui.binding.rel.impl.BooleanConstraintImpl
de.businesscode.bcdui.binding.rel.impl.IsLikeConstraintImpl
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsConstructorDescriptionIsLikeConstraintImpl
(AbstractConstrain.Type pType, boolean negate, String prependToSecond, String appendToSecond) -
Method Summary
Modifier and TypeMethodDescriptiongetConstrainedStatement
(String mainTableAlias, boolean isForJoinToCaseWhen) builds and returns full SQL statement of the constraint Method getConstrainedStatementint
Method getMinimumPartsprotected String
translates type to SQL string Method getOperatorMethods inherited from class de.businesscode.bcdui.binding.rel.impl.BooleanConstraintImpl
mayContainChildConstraint
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 Details
-
IsLikeConstraintImpl
public IsLikeConstraintImpl(AbstractConstrain.Type pType, boolean negate, String prependToSecond, String appendToSecond)
-
-
Method Details
-
getOperator
Description copied from class:BooleanConstraintImpl
translates type to SQL string Method getOperator- Overrides:
getOperator
in classBooleanConstraintImpl
- Returns:
- Throws:
BindingException
-
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- Overrides:
getConstrainedStatement
in classBooleanConstraintImpl
- Returns:
- Throws:
BindingNotFoundException
BindingException
- See Also:
-
getMinimumParts
public int getMinimumParts()Method getMinimumParts- Overrides:
getMinimumParts
in classBooleanConstraintImpl
- Returns:
-