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