private void validateComposite(Integer index) {
   ents.add(library.getCompositePhysicalEntity(index));
   for (Integer i : library.getCompositeEntityIndicies(index)) {
     if (library.getSemSimType(i) == SemSimTypes.CUSTOM_PHYSICAL_ENTITY) {
       ents.add(library.getCustomPhysicalEntity(i));
     } else {
       ents.add(library.getReferencePhysicalEntity(i));
     }
   }
 }