/** * If not already created, a new <code>capacity</code> element with the given value will be created. * Otherwise, the existing <code>capacity</code> element will be returned. * @return a new or existing instance of <code>CapacityType<XaPoolType<T>></code> */ public CapacityType<XaPoolType<T>> getOrCreateCapacity() { Node node = childNode.getOrCreate("capacity"); CapacityType<XaPoolType<T>> capacity = new CapacityTypeImpl<XaPoolType<T>>(this, "capacity", childNode, node); return capacity; }
/** * If not already created, a new <code>capacity</code> element with the given value will be created. * Otherwise, the existing <code>capacity</code> element will be returned. * @return a new or existing instance of <code>CapacityType<PoolType<T>></code> */ public CapacityType<PoolType<T>> getOrCreateCapacity() { Node node = childNode.getOrCreate("capacity"); CapacityType<PoolType<T>> capacity = new CapacityTypeImpl<PoolType<T>>(this, "capacity", childNode, node); return capacity; }
/** * If not already created, a new <code>capacity</code> element with the given value will be created. * Otherwise, the existing <code>capacity</code> element will be returned. * @return a new or existing instance of <code>CapacityType<PoolType<T>></code> */ public CapacityType<PoolType<T>> getOrCreateCapacity() { Node node = childNode.getOrCreate("capacity"); CapacityType<PoolType<T>> capacity = new CapacityTypeImpl<PoolType<T>>(this, "capacity", childNode, node); return capacity; }
/** * If not already created, a new <code>capacity</code> element with the given value will be created. * Otherwise, the existing <code>capacity</code> element will be returned. * @return a new or existing instance of <code>CapacityType<XaPoolType<T>></code> */ public CapacityType<XaPoolType<T>> getOrCreateCapacity() { Node node = childNode.getOrCreate("capacity"); CapacityType<XaPoolType<T>> capacity = new CapacityTypeImpl<XaPoolType<T>>(this, "capacity", childNode, node); return capacity; }