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