public void setSwingDataCollection(Collection<ICFSecurityISOCountryObj> value) { final String S_ProcName = "setSwingDataCollection"; swingDataCollection = value; if (swingDataCollection == null) { arrayOfISOCountry = new ICFSecurityISOCountryObj[0]; } else { int len = value.size(); arrayOfISOCountry = new ICFSecurityISOCountryObj[len]; Iterator<ICFSecurityISOCountryObj> iter = swingDataCollection.iterator(); int idx = 0; while (iter.hasNext() && (idx < len)) { arrayOfISOCountry[idx++] = iter.next(); } if (idx < len) { throw CFLib.getDefaultExceptionFactory() .newRuntimeException( getClass(), S_ProcName, "Collection iterator did not fully populate the array copy"); } if (iter.hasNext()) { throw CFLib.getDefaultExceptionFactory() .newRuntimeException( getClass(), S_ProcName, "Collection iterator had left over items when done populating array copy"); } Arrays.sort(arrayOfISOCountry, compareISOCountryByQualName); } PickerTableModel tblDataModel = getDataModel(); if (tblDataModel != null) { tblDataModel.fireTableDataChanged(); } }
public CFAsteriskRamISOCountryLanguageCursor( CFSecurityAuthorization argAuthorization, ICFSecuritySchema argSchema, Collection<CFSecurityISOCountryLanguageBuff> cltn) { super(argAuthorization, argSchema, "", cltn.size()); values = cltn; cursor = values.iterator(); }
public CFAsteriskRamTSecGroupIncludeCursor( CFSecurityAuthorization argAuthorization, ICFSecuritySchema argSchema, Collection<CFSecurityTSecGroupIncludeBuff> cltn) { super(argAuthorization, argSchema, "", cltn.size()); values = cltn; cursor = values.iterator(); }
public CFBamRamDoubleDefCursor( CFSecurityAuthorization argAuthorization, ICFBamSchema argSchema, Collection<CFBamDoubleDefBuff> cltn) { super(argAuthorization, argSchema, "", cltn.size()); values = cltn; cursor = values.iterator(); }
public CFCrmRamTldCursor( CFSecurityAuthorization argAuthorization, ICFInternetSchema argSchema, Collection<CFInternetTldBuff> cltn) { super(argAuthorization, argSchema, "", cltn.size()); values = cltn; cursor = values.iterator(); }
public CFFreeSwitchRamFSSFProfileDomainCursor( CFSecurityAuthorization argAuthorization, ICFFreeSwitchSchema argSchema, Collection<CFFreeSwitchFSSFProfileDomainBuff> cltn) { super(argAuthorization, argSchema, "", cltn.size()); values = cltn; cursor = values.iterator(); }