Esempio n. 1
0
  /** The copy constructor */
  public OptionDef(OptionDef optionDef) {

    setText(optionDef.getText());
    setBinding(optionDef.getBinding());
    setItextId(optionDef.getItextId());
    setDefaultValue(optionDef.getDefaultValue());
  }
Esempio n. 2
0
 /** The copy constructor */
 public OptionDef(OptionDef optionDef, QuestionDef parent) {
   this(parent);
   setText(optionDef.getText());
   setBinding(optionDef.getBinding());
   setItextId(optionDef.getItextId());
   setDefaultValue(optionDef.getDefaultValue());
   // setParent(parent /*optionDef.getParent()*/);
 }
Esempio n. 3
0
 /**
  * Constructs a new option answer definition object from the following parameters.
  *
  * @param id
  * @param text
  * @param variableName
  */
 public OptionDef(String text, String variableName, String val, QuestionDef parent) {
   this(parent);
   setText(text);
   setBinding(variableName);
   setDefaultValue(val);
 }