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