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 getConstrainedStatementintMethod getMinimumPartsprotected Stringtranslates type to SQL string Method getOperatorMethods inherited from class de.businesscode.bcdui.binding.rel.impl.BooleanConstraintImpl
mayContainChildConstraintMethods 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:BooleanConstraintImpltranslates type to SQL string Method getOperator- Overrides:
getOperatorin classBooleanConstraintImpl- Returns:
- Throws:
BindingException
-
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- Overrides:
getConstrainedStatementin classBooleanConstraintImpl- Returns:
- Throws:
BindingNotFoundExceptionBindingException- See Also:
-
getMinimumParts
public int getMinimumParts()Method getMinimumParts- Overrides:
getMinimumPartsin classBooleanConstraintImpl- Returns:
-