}
return false;
}
public static GetAssertionStatusReport MapGetAssertionStatusReport(String authInfo, CompletionStatus completionStatus) {
GetAssertionStatusReport r = new GetAssertionStatusReport();
r.setAuthInfo(authInfo);
switch (completionStatus) {
case STATUS_BOTH_INCOMPLETE:
r.setCompletionStatus(null);
break;
case STATUS_COMPLETE:
r.setCompletionStatus("status:complete");
break;
case STATUS_FROM_KEY_INCOMPLETE:
r.setCompletionStatus("status:fromKey_incomplete");
break;
case STATUS_TO_KEY_INCOMPLETE:
r.setCompletionStatus("status:toKey_incomplete");
break;
}
r.setGeneric(VERSION);
return r;
}