public ASelectableCondition createCondition(final Object selectedItem, final NamedObject simpleCond,
final Object value, final boolean matchCase,
final boolean matchApproximately) {
final NamedObject namedObject = (NamedObject) selectedItem;
if (namedObject.objectEquals(FILTER_LINK)) {
if (simpleCond.objectEquals(ConditionFactory.FILTER_IS_EQUAL_TO)) {
return new HyperLinkEqualsCondition((String) value, matchCase, matchApproximately);
}
if (simpleCond.objectEquals(ConditionFactory.FILTER_CONTAINS)) {
return new HyperLinkContainsCondition((String) value, matchCase, matchApproximately);