/** * If not already created, a new <code>default-groups</code> element with the given value will be created. * Otherwise, the existing <code>default-groups</code> element will be returned. * @return a new or existing instance of <code>WorkmanagerSecurityGroupsType<WorkmanagerSecurityType<T>></code> */ public WorkmanagerSecurityGroupsType<WorkmanagerSecurityType<T>> getOrCreateDefaultGroups() { Node node = childNode.getOrCreate("default-groups"); WorkmanagerSecurityGroupsType<WorkmanagerSecurityType<T>> defaultGroups = new WorkmanagerSecurityGroupsTypeImpl<WorkmanagerSecurityType<T>>(this, "default-groups", childNode, node); return defaultGroups; }
/** * If not already created, a new <code>default-groups</code> element with the given value will be created. * Otherwise, the existing <code>default-groups</code> element will be returned. * @return a new or existing instance of <code>WorkmanagerSecurityGroupsType<WorkmanagerSecurityType<T>></code> */ public WorkmanagerSecurityGroupsType<WorkmanagerSecurityType<T>> getOrCreateDefaultGroups() { Node node = childNode.getOrCreate("default-groups"); WorkmanagerSecurityGroupsType<WorkmanagerSecurityType<T>> defaultGroups = new WorkmanagerSecurityGroupsTypeImpl<WorkmanagerSecurityType<T>>(this, "default-groups", childNode, node); return defaultGroups; }