Is this EquipSet part of the Equipment set located at rootId. @param rootId The id to test @return true if eqSet is a child of rootId
(String rootId)
| 579 | * @return true if eqSet is a child of rootId |
| 580 | */ |
| 581 | public boolean isPartOf(String rootId) |
| 582 | { |
| 583 | // rootId = 0.1. |
| 584 | // parentIdPath = 0.10. |
| 585 | // OR |
| 586 | // rootId = 0.10. |
| 587 | // parentIdPath = 0.1. |
| 588 | final String abCalcId = rootId + Constants.EQUIP_SET_PATH_SEPARATOR; |
| 589 | final String abParentId = getParentIdPath() + Constants.EQUIP_SET_PATH_SEPARATOR; |
| 590 | |
| 591 | return abParentId.startsWith(abCalcId); |
| 592 | } |
| 593 | |
| 594 | public DefaultListFacade<EquipNode> getNodeList() |
| 595 | { |
no test coverage detected