in scim-spec/scim-spec-schema/src/main/java/org/apache/directory/scim/spec/filter/ValuePathExpression.java [83:101]
public String toUnqualifiedFilter() {
String filter;
if (this.attributeExpression != null) {
String attributeName = this.attributePath.getAttributeName();
String subAttributeName = this.attributePath.getSubAttributeName();
String attributeExpressionFilter = this.attributeExpression.toUnqualifiedFilter();
if (subAttributeName != null) {
filter = attributeName + "[" + attributeExpressionFilter + "]." + subAttributeName;
} else {
filter = attributeName + "[" + attributeExpressionFilter + "]";
}
} else {
String subAttributeName = this.attributePath.getSubAttributeName();
filter = this.attributePath.getAttributeName() + (subAttributeName != null ? "." + subAttributeName : "");
}
return filter;
}