AssertionStatusItem[] a = report.getAssertionStatusItemArray();
int len = a != null? a.length : 0;
for (int i = 0; i < len; i++)
{
AssertionStatusItem asi = a[i];
/* String sourceKey = asi.getFromKey();
String targetKey = asi.getToKey();
PublisherAssertion pa = new PublisherAssertion();
pa.setFromKey(sourceKey);
pa.setToKey(targetKey);
KeyedReference keyr = asi.getKeyedReference();
pa.setKeyedReference(keyr);
pa.setTModelKey(keyr.getTModelKey());
pa.setKeyName(keyr.getKeyName());
pa.setKeyValue(keyr.getKeyValue());
if(pasvect == null) pasvect = new Vector(len);
pasvect.add(pa);*/
if(pasvect == null) pasvect = new Vector<PublisherAssertion>(len);
pasvect.add(this.getPublisherAssertion(asi));
}
report = ireg.getAssertionStatusReport(authinfo,"status:toKey_incomplete");
a = report.getAssertionStatusItemArray();
len = a != null? a.length : 0;
for (int i = 0; i < len; i++)
{
AssertionStatusItem asi = (AssertionStatusItem) a[i];
if(pasvect == null) pasvect = new Vector<PublisherAssertion>(len);
pasvect.add(this.getPublisherAssertion(asi));
}
report = ireg.getAssertionStatusReport(authinfo,"status:fromKey_incomplete");
a = report.getAssertionStatusItemArray();
len = a != null? a.length : 0;
for (int i = 0; i < len; i++)
{
AssertionStatusItem asi = (AssertionStatusItem) a[i];
if(pasvect == null) pasvect = new Vector<PublisherAssertion>(len);
pasvect.add(this.getPublisherAssertion(asi));
}
if (pasvect != null) {