returns a new id_Path with the last id one higher than the current highest child of the supplied EquipSet. @param eSet The equipset which would be the parent of a new node. @return new id path
(EquipSet eSet)
| 7208 | * @return new id path |
| 7209 | */ |
| 7210 | private String getNewIdPath(EquipSet eSet) |
| 7211 | { |
| 7212 | String pid = Constants.EQUIP_SET_ROOT_ID; |
| 7213 | |
| 7214 | if (eSet != null) |
| 7215 | { |
| 7216 | pid = eSet.getIdPath(); |
| 7217 | } |
| 7218 | |
| 7219 | int newID = getNewChildId(pid); |
| 7220 | |
| 7221 | return pid + Constants.EQUIP_SET_PATH_SEPARATOR + newID; |
| 7222 | } |
| 7223 | |
| 7224 | /** |
| 7225 | * Identify a new id (only the final number in the path) for a child |
no test coverage detected