/** * If not already created, a new <code>dependencies</code> element with the given value will be created. * Otherwise, the existing <code>dependencies</code> element will be returned. * @return a new or existing instance of <code>DependenciesType<ModuleDescriptor></code> */ public DependenciesType<ModuleDescriptor> getOrCreateDependencies() { Node node = model.getOrCreate("dependencies"); DependenciesType<ModuleDescriptor> dependencies = new DependenciesTypeImpl<ModuleDescriptor>(this, "dependencies", model, node); return dependencies; }
/** * If not already created, a new <code>dependencies</code> element with the given value will be created. * Otherwise, the existing <code>dependencies</code> element will be returned. * @return a new or existing instance of <code>DependenciesType<ModuleType<T>></code> */ public DependenciesType<ModuleType<T>> getOrCreateDependencies() { Node node = childNode.getOrCreate("dependencies"); DependenciesType<ModuleType<T>> dependencies = new DependenciesTypeImpl<ModuleType<T>>(this, "dependencies", childNode, node); return dependencies; }