protected override void doAddWhereClause(List <String> conditionList, String columnName, ConditionValue value, ConditionOption option) { throw new UnsupportedOperationException("doAddWhereClause that has ConditionOption is unsupported!!!"); }
protected override void doSetupConditionValue(ConditionValue conditionValue, Object value, String location, ConditionOption option) { throw new UnsupportedOperationException("doSetupConditionValue with condition-option is unsupported!!!"); }
protected override void doSetupConditionValue(ConditionValue conditionValue, Object value, String location, ConditionOption option) { conditionValue.setLikeSearch((String)value, (LikeSearchOption)option).setLikeSearchLocation(location); }
protected override void setupConditionValueAndRegisterWhereClause(ConditionKey key, Object value, ConditionValue cvalue , String colName, ConditionOption option) { regIQ(key, value, cvalue, colName, option); }
protected override void doAddWhereClause(List <String> conditionList, String columnName, ConditionValue value, ConditionOption option) { if (option == null) { String msg = "The argument[option] should not be null: columnName=" + columnName + " value=" + value; throw new IllegalArgumentException(msg); } if (!(option is LikeSearchOption)) { String msg = "The argument[option] should be LikeSearchOption: columnName=" + columnName + " value=" + value; throw new IllegalArgumentException(msg); } LikeSearchOption myOption = (LikeSearchOption)option; conditionList.add(buildBindClauseWithRearOption(columnName, value.getLikeSearchLocation(), myOption.getRearOption())); }
public ConditionKey addWhereClause(List <String> conditionList, String columnName, ConditionValue value, ConditionOption option) { if (value == null) { String msg = "Argument[value] must not be null:"; throw new IllegalArgumentException(msg + " value=" + value + " this.ToString()=" + ToString()); } doAddWhereClause(conditionList, columnName, value, option); return(this); }
abstract protected void doSetupConditionValue(ConditionValue conditionValue, Object value, String location, ConditionOption option);
public ConditionValue setupConditionValue(ConditionValue conditionValue, Object value, String location, ConditionOption option) { if (conditionValue == null) { String msg = "Argument[conditionValue] must not be null:"; throw new IllegalArgumentException(msg + " value=" + value + " this.ToString()=" + ToString()); } doSetupConditionValue(conditionValue, value, location, option); return(conditionValue); }
abstract protected void doAddWhereClause(List <String> conditionList, String columnName, ConditionValue value, ConditionOption option);