public void removeCOSTemplates() throws UMSException {
  ArrayList aList=(ArrayList)getCOSTemplates();
  for (int i=0; i < aList.size(); i++) {
    COSTemplate cosTemplate=(COSTemplate)aList.get(i);
    cosTemplate.remove();
  }
}

public void removeCOSTemplates ( ) throws UMSException { ArrayList aList = ( ArrayList ) getCOSTemplates ( ) ; for ( int i = 0 ; i < aList . size ( ) ; i ++ ) { COSTemplate cosTemplate = ( COSTemplate ) aList . get ( i ) ; cosTemplate . remove ( ) ; } }
removes all cos templates from this cos definition .
