/** * Creates a new <code>include-set</code> element * @return the new created instance of <code>PathSetType<FilterType<T>></code> */ public PathSetType<FilterType<T>> createIncludeSet() { return new PathSetTypeImpl<FilterType<T>>(this, "include-set", childNode); }
/** * Creates a new <code>exclude-set</code> element * @return the new created instance of <code>PathSetType<FilterType<T>></code> */ public PathSetType<FilterType<T>> createExcludeSet() { return new PathSetTypeImpl<FilterType<T>>(this, "exclude-set", childNode); }
/** * If not already created, a new <code>paths</code> element with the given value will be created. * Otherwise, the existing <code>paths</code> element will be returned. * @return a new or existing instance of <code>PathSetType<SystemDependencyType<T>></code> */ public PathSetType<SystemDependencyType<T>> getOrCreatePaths() { Node node = childNode.getOrCreate("paths"); PathSetType<SystemDependencyType<T>> paths = new PathSetTypeImpl<SystemDependencyType<T>>(this, "paths", childNode, node); return paths; }
/** * Returns all <code>include-set</code> elements * @return list of <code>include-set</code> */ public List<PathSetType<FilterType<T>>> getAllIncludeSet() { List<PathSetType<FilterType<T>>> list = new ArrayList<PathSetType<FilterType<T>>>(); List<Node> nodeList = childNode.get("include-set"); for(Node node: nodeList) { PathSetType<FilterType<T>> type = new PathSetTypeImpl<FilterType<T>>(this, "include-set", childNode, node); list.add(type); } return list; }
/** * Returns all <code>exclude-set</code> elements * @return list of <code>exclude-set</code> */ public List<PathSetType<FilterType<T>>> getAllExcludeSet() { List<PathSetType<FilterType<T>>> list = new ArrayList<PathSetType<FilterType<T>>>(); List<Node> nodeList = childNode.get("exclude-set"); for(Node node: nodeList) { PathSetType<FilterType<T>> type = new PathSetTypeImpl<FilterType<T>>(this, "exclude-set", childNode, node); list.add(type); } return list; }
/** * If not already created, a new <code>include-set</code> element will be created and returned. * Otherwise, the first existing <code>include-set</code> element will be returned. * @return the instance defined for the element <code>include-set</code> */ public PathSetType<FilterType<T>> getOrCreateIncludeSet() { List<Node> nodeList = childNode.get("include-set"); if (nodeList != null && nodeList.size() > 0) { return new PathSetTypeImpl<FilterType<T>>(this, "include-set", childNode, nodeList.get(0)); } return createIncludeSet(); }
/** * If not already created, a new <code>exclude-set</code> element will be created and returned. * Otherwise, the first existing <code>exclude-set</code> element will be returned. * @return the instance defined for the element <code>exclude-set</code> */ public PathSetType<FilterType<T>> getOrCreateExcludeSet() { List<Node> nodeList = childNode.get("exclude-set"); if (nodeList != null && nodeList.size() > 0) { return new PathSetTypeImpl<FilterType<T>>(this, "exclude-set", childNode, nodeList.get(0)); } return createExcludeSet(); }