Retrieve the order of the node, that is the top level order of the body structures. @param equipNodeImpl The node to be examined. @return The order applicable to the node.
(EquipNode equipNodeImpl)
| 222 | * @return The order applicable to the node. |
| 223 | */ |
| 224 | private String getOrder(EquipNode equipNodeImpl) |
| 225 | { |
| 226 | if (StringUtils.isNotBlank(equipNodeImpl.order)) |
| 227 | { |
| 228 | return equipNodeImpl.order; |
| 229 | } |
| 230 | EquipNode enParent = equipNodeImpl.parent; |
| 231 | if (enParent != null) |
| 232 | { |
| 233 | return getOrder(enParent); |
| 234 | } |
| 235 | return ""; |
| 236 | } |
| 237 | |
| 238 | } |