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