/** * Utility to search for an instance of Switch within the * CIM model * * @param id * the id to search * @return Switch a reference to the class corresponding to * this id, to NULL if not found */ public Switch searchSwitch(final String id) { if (this.getId_Switch().containsKey(id)) { return this.getId_Switch().get(id); } return null; }
addName(idMapping, names, twt); for (cim1.model.Switch s : model.getId_Switch().values()) { addName(idMapping, names, s);