}
}
// SpecificationLink
Collection<SpecificationLink> slcol = serve.getSpecificationLinks();
TModelInstanceDetails tid = TModelInstanceDetails.Factory
.newInstance();
if (slcol != null && !slcol.isEmpty()) {
Iterator<SpecificationLink> iter = slcol.iterator();
while (iter.hasNext()) {
SpecificationLink slink = (SpecificationLink) iter.next();
TModelInstanceInfo emptyTInfo = tid
.addNewTModelInstanceInfo();
RegistryObject specificationObject = slink.getSpecificationObject();
if (specificationObject.getKey() != null && specificationObject.getKey().getId() != null) {
emptyTInfo.setTModelKey(specificationObject.getKey().getId());