bt.addDescription(new Description(((RegistryObject) serve).getDescription().getValue()));
//SpecificationLink
Collection slcol = serve.getSpecificationLinks();
TModelInstanceDetails tid = new TModelInstanceDetails();
if(slcol != null && slcol.isEmpty() != false)
{
Iterator iter = slcol.iterator();
while(iter.hasNext())
{
SpecificationLink slink = (SpecificationLink)iter.next();
TModelInstanceInfo tinfo = new TModelInstanceInfo();
tinfo.setTModelKey(slink.getSpecificationObject().getKey().getId());
tid.addTModelInstanceInfo(tinfo);
}
bt.setTModelInstanceDetails(tid);
}
log.debug("BindingTemplate=" + bt.toString());
} catch (Exception ud)