Lines Matching refs:targetAttr
197 * evaluate the attribute type and targetAttr combination.
201 * @param targetAttr The ACI's TargetAttr class to evaluate against.
205 static boolean isApplicable(AttributeType a, TargetAttr targetAttr) {
206 if(targetAttr.isAllUserAttributes() && targetAttr.isAllOpAttributes()) {
207 return !targetAttr.getOperator().equals(EnumTargetOperator.NOT_EQUALITY);
209 return evalAttrType(a, targetAttr);
224 * @param targetAttr The targetAttr to apply to the attribute type.
225 * @return True if the attribute type is applicable to the targetAttr.
227 private static boolean evalAttrType(AttributeType a, TargetAttr targetAttr) {
228 final EnumTargetOperator op = targetAttr.getOperator();
230 return evalAttrType(a, targetAttr.isAllOpAttributes(), targetAttr.opAttributes, op);
232 return evalAttrType(a, targetAttr.isAllUserAttributes(), targetAttr.attributes, op);