/** * If not already created, a new <code>recovery</code> element with the given value will be created. * Otherwise, the existing <code>recovery</code> element will be returned. * @return a new or existing instance of <code>RecoverType<ConnectionDefinitionType<T>></code> */ public RecoverType<ConnectionDefinitionType<T>> getOrCreateRecovery() { Node node = childNode.getOrCreate("recovery"); RecoverType<ConnectionDefinitionType<T>> recovery = new RecoverTypeImpl<ConnectionDefinitionType<T>>(this, "recovery", childNode, node); return recovery; }
/** * If not already created, a new <code>recovery</code> element with the given value will be created. * Otherwise, the existing <code>recovery</code> element will be returned. * @return a new or existing instance of <code>RecoverType<ConnectionDefinitionType<T>></code> */ public RecoverType<ConnectionDefinitionType<T>> getOrCreateRecovery() { Node node = childNode.getOrCreate("recovery"); RecoverType<ConnectionDefinitionType<T>> recovery = new RecoverTypeImpl<ConnectionDefinitionType<T>>(this, "recovery", childNode, node); return recovery; }