use of eu.bcvsolutions.idm.ic.filter.api.IcFilter in project CzechIdMng by bcvsolutions.
the class IcAndFilter method toString.
@Override
public String toString() {
StringBuilder builder = new StringBuilder().append('(');
boolean isFirst = true;
for (final IcFilter subIcFilter : subIcFilters) {
if (isFirst) {
isFirst = false;
} else {
builder.append(" and ");
}
builder.append(subIcFilter);
}
return builder.append(')').toString();
}
use of eu.bcvsolutions.idm.ic.filter.api.IcFilter in project CzechIdMng by bcvsolutions.
the class IcOrFilter method toString.
@Override
public String toString() {
final StringBuilder builder = new StringBuilder().append('(');
boolean isFirst = true;
for (final IcFilter subFilter : subFilters) {
if (isFirst) {
isFirst = false;
} else {
builder.append(" or ");
}
builder.append(subFilter);
}
return builder.append(')').toString();
}
Aggregations