use of com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectTypeDefinitionType in project midpoint by Evolveum.
the class ProjectionValuesProcessor method hasIterationExpression.
private boolean hasIterationExpression(LensProjectionContext accountContext) {
ResourceObjectTypeDefinitionType accDef = accountContext.getResourceObjectTypeDefinitionType();
if (accDef == null) {
return false;
}
IterationSpecificationType iterationType = accDef.getIteration();
if (iterationType == null) {
return false;
}
if (iterationType.getTokenExpression() != null) {
return true;
}
if (iterationType.getPostIterationCondition() != null) {
return true;
}
if (iterationType.getPreIterationCondition() != null) {
return true;
}
return false;
}
Aggregations