code: public List<ConstraintDefinitionType<ValidationMappingDescriptor>> getAllConstraintDefinition()
     {
        List<ConstraintDefinitionType<ValidationMappingDescriptor>> list = new ArrayList<ConstraintDefinitionType<ValidationMappingDescriptor>>();
        List<Node> nodeList = model.get("constraint-definition");
        for(Node node: nodeList)
        {
           ConstraintDefinitionType<ValidationMappingDescriptor>  type = new ConstraintDefinitionTypeImpl<ValidationMappingDescriptor>(this, "constraint-definition", model, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>constraint-definition</code> elements
  @return list of <code>constraint-definition</code>