/** * Creates a new <code>constraint</code> element * @return the new created instance of <code>ConstraintType<ClassType<T>></code> */ public ConstraintType<ClassType<T>> createConstraint() { return new ConstraintTypeImpl<ClassType<T>>(this, "constraint", childNode); }
/** * If not already created, a new <code>element</code> element will be created and returned. * Otherwise, the first existing <code>element</code> element will be returned. * @return the instance defined for the element <code>element</code> */ public ElementType<ConstraintType<T>> getOrCreateElement() { List<Node> nodeList = childNode.get("element"); if (nodeList != null && nodeList.size() > 0) { return new ElementTypeImpl<ConstraintType<T>>(this, "element", childNode, nodeList.get(0)); } return createElement(); }
/** * If not already created, a new <code>element</code> element will be created and returned. * Otherwise, the first existing <code>element</code> element will be returned. * @return the instance defined for the element <code>element</code> */ public ElementType<ConstraintType<T>> getOrCreateElement() { List<Node> nodeList = childNode.get("element"); if (nodeList != null && nodeList.size() > 0) { return new ElementTypeImpl<ConstraintType<T>>(this, "element", childNode, nodeList.get(0)); } return createElement(); }
/** * Creates a new <code>constraint</code> element * @return the new created instance of <code>ConstraintType<ParameterType<T>></code> */ public ConstraintType<ParameterType<T>> createConstraint() { return new ConstraintTypeImpl<ParameterType<T>>(this, "constraint", childNode); }
/** * Creates a new <code>constraint</code> element * @return the new created instance of <code>ConstraintType<GetterType<T>></code> */ public ConstraintType<GetterType<T>> createConstraint() { return new ConstraintTypeImpl<GetterType<T>>(this, "constraint", childNode); }
/** * Creates a new <code>constraint</code> element * @return the new created instance of <code>ConstraintType<GetterType<T>></code> */ public ConstraintType<GetterType<T>> createConstraint() { return new ConstraintTypeImpl<GetterType<T>>(this, "constraint", childNode); }
/** * Creates a new <code>constraint</code> element * @return the new created instance of <code>ConstraintType<FieldType<T>></code> */ public ConstraintType<FieldType<T>> createConstraint() { return new ConstraintTypeImpl<FieldType<T>>(this, "constraint", childNode); }
/** * Creates a new <code>constraint</code> element * @return the new created instance of <code>ConstraintType<CrossParameterType<T>></code> */ public ConstraintType<CrossParameterType<T>> createConstraint() { return new ConstraintTypeImpl<CrossParameterType<T>>(this, "constraint", childNode); }
/** * Creates a new <code>constraint</code> element * @return the new created instance of <code>ConstraintType<ClassType<T>></code> */ public ConstraintType<ClassType<T>> createConstraint() { return new ConstraintTypeImpl<ClassType<T>>(this, "constraint", childNode); }
/** * Creates a new <code>constraint</code> element * @return the new created instance of <code>ConstraintType<CrossParameterType<T>></code> */ public ConstraintType<CrossParameterType<T>> createConstraint() { return new ConstraintTypeImpl<CrossParameterType<T>>(this, "constraint", childNode); }
/** * Creates a new <code>constraint</code> element * @return the new created instance of <code>ConstraintType<ReturnValueType<T>></code> */ public ConstraintType<ReturnValueType<T>> createConstraint() { return new ConstraintTypeImpl<ReturnValueType<T>>(this, "constraint", childNode); }
/** * Creates a new <code>constraint</code> element * @return the new created instance of <code>ConstraintType<ReturnValueType<T>></code> */ public ConstraintType<ReturnValueType<T>> createConstraint() { return new ConstraintTypeImpl<ReturnValueType<T>>(this, "constraint", childNode); }
/** * Creates a new <code>constraint</code> element * @return the new created instance of <code>ConstraintType<FieldType<T>></code> */ public ConstraintType<FieldType<T>> createConstraint() { return new ConstraintTypeImpl<FieldType<T>>(this, "constraint", childNode); }
/** * Creates a new <code>constraint</code> element * @return the new created instance of <code>ConstraintType<ParameterType<T>></code> */ public ConstraintType<ParameterType<T>> createConstraint() { return new ConstraintTypeImpl<ParameterType<T>>(this, "constraint", childNode); }
/** * Returns all <code>constraint</code> elements * @return list of <code>constraint</code> */ public List<ConstraintType<CrossParameterType<T>>> getAllConstraint() { List<ConstraintType<CrossParameterType<T>>> list = new ArrayList<ConstraintType<CrossParameterType<T>>>(); List<Node> nodeList = childNode.get("constraint"); for(Node node: nodeList) { ConstraintType<CrossParameterType<T>> type = new ConstraintTypeImpl<CrossParameterType<T>>(this, "constraint", childNode, node); list.add(type); } return list; }
/** * Returns all <code>constraint</code> elements * @return list of <code>constraint</code> */ public List<ConstraintType<ReturnValueType<T>>> getAllConstraint() { List<ConstraintType<ReturnValueType<T>>> list = new ArrayList<ConstraintType<ReturnValueType<T>>>(); List<Node> nodeList = childNode.get("constraint"); for(Node node: nodeList) { ConstraintType<ReturnValueType<T>> type = new ConstraintTypeImpl<ReturnValueType<T>>(this, "constraint", childNode, node); list.add(type); } return list; }
/** * Returns all <code>constraint</code> elements * @return list of <code>constraint</code> */ public List<ConstraintType<GetterType<T>>> getAllConstraint() { List<ConstraintType<GetterType<T>>> list = new ArrayList<ConstraintType<GetterType<T>>>(); List<Node> nodeList = childNode.get("constraint"); for(Node node: nodeList) { ConstraintType<GetterType<T>> type = new ConstraintTypeImpl<GetterType<T>>(this, "constraint", childNode, node); list.add(type); } return list; }
/** * Returns all <code>constraint</code> elements * @return list of <code>constraint</code> */ public List<ConstraintType<ReturnValueType<T>>> getAllConstraint() { List<ConstraintType<ReturnValueType<T>>> list = new ArrayList<ConstraintType<ReturnValueType<T>>>(); List<Node> nodeList = childNode.get("constraint"); for(Node node: nodeList) { ConstraintType<ReturnValueType<T>> type = new ConstraintTypeImpl<ReturnValueType<T>>(this, "constraint", childNode, node); list.add(type); } return list; }
/** * Returns all <code>constraint</code> elements * @return list of <code>constraint</code> */ public List<ConstraintType<FieldType<T>>> getAllConstraint() { List<ConstraintType<FieldType<T>>> list = new ArrayList<ConstraintType<FieldType<T>>>(); List<Node> nodeList = childNode.get("constraint"); for(Node node: nodeList) { ConstraintType<FieldType<T>> type = new ConstraintTypeImpl<FieldType<T>>(this, "constraint", childNode, node); list.add(type); } return list; }
/** * Returns all <code>constraint</code> elements * @return list of <code>constraint</code> */ public List<ConstraintType<GetterType<T>>> getAllConstraint() { List<ConstraintType<GetterType<T>>> list = new ArrayList<ConstraintType<GetterType<T>>>(); List<Node> nodeList = childNode.get("constraint"); for(Node node: nodeList) { ConstraintType<GetterType<T>> type = new ConstraintTypeImpl<GetterType<T>>(this, "constraint", childNode, node); list.add(type); } return list; }