Revision 226 org.gvsig.educa.thematicmap/trunk/org.gvsig.educa.thematicmap/org.gvsig.educa.thematicmap.lib/org.gvsig.educa.thematicmap.lib.prov.qresp/src/main/java/org/gvsig/educa/thematicmap/lib/prov/qresp/QRespThematicMapProviderFactory.java

View differences:

QRespThematicMapProviderFactory.java
1 1
/* gvSIG. Desktop Geographic Information System.
2 2
 *
3
 * Copyright ? 2007-2012 gvSIG Association
3
 * Copyright  2007-2012 gvSIG Association
4 4
 *
5 5
 * This program is free software; you can redistribute it and/or
6 6
 * modify it under the terms of the GNU General Public License
......
53 53
                    PROVIDER_DESCRIPTION);
54 54

  
55 55
            dynclass.addDynFieldString("questionLayerName").setMandatory(true);
56
            dynclass.addDynFieldString("questionAttributeName").setMandatory(
57
                true);
56
            dynclass.addDynFieldString("questionAttributeName").setMandatory(true);
57
            dynclass.addDynFieldString("questionAttributeID").setMandatory(true);
58
            dynclass.addDynFieldString("questionAttributeIDAnswerOk").setMandatory(true);
59
            
58 60
            dynclass.addDynFieldString("answerLayerName").setMandatory(true);
59
            dynclass.addDynFieldString("answerAttributeName")
60
                .setMandatory(true);
61
            dynclass.addDynFieldString("answerAttributeName").setMandatory(true);
62
            dynclass.addDynFieldString("answerQuestionID").setMandatory(true);
63

  
61 64
            dynclass.addDynFieldInt("howManyQuestions")
62 65
                .setDefaultFieldValue(Integer.valueOf(10)).setMandatory(true);
63 66
            dynclass.addDynFieldBoolean("random")
64 67
                .setDefaultFieldValue(Boolean.TRUE).setMandatory(true);
65 68

  
66 69
            dynObjectManager.add(dynclass);
70
            
71
            
72
            /*
73
             * NombreCapa
74
             * CampoIdentificadorDeItemGeografico
75
             * TextoDeLaPregunta
76
             * NumeroDePreguntas
77
             * 
78
             */
67 79
        }
68 80
    }
69 81

  

Also available in: Unified diff