private void addToAllByGlobalCoTerminusIdMap(AcGlobalCoTerminusAirport e) { Integer key = e.getGlobalCoTerminusId(); JwList<AcGlobalCoTerminusAirport> v = _allByGlobalCoTerminusIdMap.get(key); if (v == null) { v = new JwList<AcGlobalCoTerminusAirport>(); _allByGlobalCoTerminusIdMap.put(key, v); } v.add(e); }
public JwList<AcGlobalCoTerminusAirport> getAllByGlobalCoTerminusId(Integer globalCoTerminusId) { lock(); try { Integer key = globalCoTerminusId; JwList<AcGlobalCoTerminusAirport> v = getAllByGlobalCoTerminusIdMap().get(key); if (v == null) return JwList.createEmpty(); return v; } finally { unlock(); } }
private void loadAllAvailableList() { Collection<AcGlobalTimeZone> v = getMap().values(); _allAvailableList = new JwList<AcGlobalTimeZone>(); for (AcGlobalTimeZone e : v) if (e.isAvailable()) _allAvailableList.add(e); _allAvailableList.setReadOnly(); }
private void loadAllAvailableList() { Collection<AcGlobalCoTerminusAirport> v = getMap().values(); _allAvailableList = new JwList<AcGlobalCoTerminusAirport>(); for (AcGlobalCoTerminusAirport e : v) if (e.isAvailable()) _allAvailableList.add(e); _allAvailableList.setReadOnly(); }
private void setAllByGlobalCoTerminusIdMapReadOnly() { for (JwList<AcGlobalCoTerminusAirport> v : _allByGlobalCoTerminusIdMap.values()) v.setReadOnly(); }