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
-
public class IsLikeConstraintImpl extends BooleanConstraintImpl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IsLikeConstraintImpl.BooleanConstraint
-
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 IsLikeConstraintImpl(AbstractConstrain.Type pType, boolean negate, java.lang.String prependToSecond, java.lang.String appendToSecond)
-
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 getConstrainedStatementint
getMinimumParts()
Method getMinimumPartsprotected java.lang.String
getOperator()
translates type to SQL string Method getOperator-
Methods 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 Detail
-
IsLikeConstraintImpl
public IsLikeConstraintImpl(AbstractConstrain.Type pType, boolean negate, java.lang.String prependToSecond, java.lang.String appendToSecond)
-
-
Method Detail
-
getOperator
protected java.lang.String getOperator() throws BindingException
Description copied from class:BooleanConstraintImpl
translates type to SQL string Method getOperator- Overrides:
getOperator
in classBooleanConstraintImpl
- Returns:
- Throws:
BindingException
-
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- Overrides:
getConstrainedStatement
in classBooleanConstraintImpl
- Returns:
- Throws:
BindingNotFoundException
BindingException
- See Also:
AbstractConstrain.getConstrainedStatement(String,boolean)
-
getMinimumParts
public int getMinimumParts()
Method getMinimumParts- Overrides:
getMinimumParts
in classBooleanConstraintImpl
- Returns:
-
-