/** * If not already created, a new <code>absolute-ordering</code> element will be created and returned. * Otherwise, the first existing <code>absolute-ordering</code> element will be returned. * @return the instance defined for the element <code>absolute-ordering</code> */ public AbsoluteOrderingType<WebAppDescriptor> getOrCreateAbsoluteOrdering() { List<Node> nodeList = model.get("absolute-ordering"); if (nodeList != null && nodeList.size() > 0) { return new AbsoluteOrderingTypeImpl<WebAppDescriptor>(this, "absolute-ordering", model, nodeList.get(0)); } return createAbsoluteOrdering(); }
/** * If not already created, a new <code>absolute-ordering</code> element will be created and returned. * Otherwise, the first existing <code>absolute-ordering</code> element will be returned. * @return the instance defined for the element <code>absolute-ordering</code> */ public AbsoluteOrderingType<WebAppDescriptor> getOrCreateAbsoluteOrdering() { List<Node> nodeList = model.get("absolute-ordering"); if (nodeList != null && nodeList.size() > 0) { return new AbsoluteOrderingTypeImpl<WebAppDescriptor>(this, "absolute-ordering", model, nodeList.get(0)); } return createAbsoluteOrdering(); }