MCPcopy Create free account
hub / github.com/PCGen/pcgen / getOrder

Method getOrder

code/src/java/pcgen/gui2/facade/EquipNode.java:224–236  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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}

Callers 1

compareToMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected