/** * Creates a new <code>field</code> element * @return the new created instance of <code>FieldType<BeanType<T>></code> */ public FieldType<BeanType<T>> createField() { return new FieldTypeImpl<BeanType<T>>(this, "field", childNode); }
/** * If not already created, a new <code>constraint</code> element will be created and returned. * Otherwise, the first existing <code>constraint</code> element will be returned. * @return the instance defined for the element <code>constraint</code> */ public ConstraintType<FieldType<T>> getOrCreateConstraint() { List<Node> nodeList = childNode.get("constraint"); if (nodeList != null && nodeList.size() > 0) { return new ConstraintTypeImpl<FieldType<T>>(this, "constraint", childNode, nodeList.get(0)); } return createConstraint(); }
/** * If not already created, a new <code>convert-group</code> element will be created and returned. * Otherwise, the first existing <code>convert-group</code> element will be returned. * @return the instance defined for the element <code>convert-group</code> */ public GroupConversionType<FieldType<T>> getOrCreateConvertGroup() { List<Node> nodeList = childNode.get("convert-group"); if (nodeList != null && nodeList.size() > 0) { return new GroupConversionTypeImpl<FieldType<T>>(this, "convert-group", childNode, nodeList.get(0)); } return createConvertGroup(); }
/** * If not already created, a new <code>constraint</code> element will be created and returned. * Otherwise, the first existing <code>constraint</code> element will be returned. * @return the instance defined for the element <code>constraint</code> */ public ConstraintType<FieldType<T>> getOrCreateConstraint() { List<Node> nodeList = childNode.get("constraint"); if (nodeList != null && nodeList.size() > 0) { return new ConstraintTypeImpl<FieldType<T>>(this, "constraint", childNode, nodeList.get(0)); } return createConstraint(); }
/** * If not already created, a new <code>convert-group</code> element will be created and returned. * Otherwise, the first existing <code>convert-group</code> element will be returned. * @return the instance defined for the element <code>convert-group</code> */ public GroupConversionType<FieldType<T>> getOrCreateConvertGroup() { List<Node> nodeList = childNode.get("convert-group"); if (nodeList != null && nodeList.size() > 0) { return new GroupConversionTypeImpl<FieldType<T>>(this, "convert-group", childNode, nodeList.get(0)); } return createConvertGroup(); }
/** * Creates a new <code>field</code> element * @return the new created instance of <code>FieldType<BeanType<T>></code> */ public FieldType<BeanType<T>> createField() { return new FieldTypeImpl<BeanType<T>>(this, "field", childNode); }
/** * Returns all <code>field</code> elements * @return list of <code>field</code> */ public List<FieldType<BeanType<T>>> getAllField() { List<FieldType<BeanType<T>>> list = new ArrayList<FieldType<BeanType<T>>>(); List<Node> nodeList = childNode.get("field"); for(Node node: nodeList) { FieldType<BeanType<T>> type = new FieldTypeImpl<BeanType<T>>(this, "field", childNode, node); list.add(type); } return list; }
/** * Returns all <code>field</code> elements * @return list of <code>field</code> */ public List<FieldType<BeanType<T>>> getAllField() { List<FieldType<BeanType<T>>> list = new ArrayList<FieldType<BeanType<T>>>(); List<Node> nodeList = childNode.get("field"); for(Node node: nodeList) { FieldType<BeanType<T>> type = new FieldTypeImpl<BeanType<T>>(this, "field", childNode, node); list.add(type); } return list; }
/** * If not already created, a new <code>field</code> element will be created and returned. * Otherwise, the first existing <code>field</code> element will be returned. * @return the instance defined for the element <code>field</code> */ public FieldType<BeanType<T>> getOrCreateField() { List<Node> nodeList = childNode.get("field"); if (nodeList != null && nodeList.size() > 0) { return new FieldTypeImpl<BeanType<T>>(this, "field", childNode, nodeList.get(0)); } return createField(); }
/** * If not already created, a new <code>field</code> element will be created and returned. * Otherwise, the first existing <code>field</code> element will be returned. * @return the instance defined for the element <code>field</code> */ public FieldType<BeanType<T>> getOrCreateField() { List<Node> nodeList = childNode.get("field"); if (nodeList != null && nodeList.size() > 0) { return new FieldTypeImpl<BeanType<T>>(this, "field", childNode, nodeList.get(0)); } return createField(); }