예제 #1
0
  /** The copy constructor */
  public OptionDef(OptionDef optionDef) {

    setText(optionDef.getText());
    setBinding(optionDef.getBinding());
    setItextId(optionDef.getItextId());
    setDefaultValue(optionDef.getDefaultValue());
  }
예제 #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()*/);
 }