Ejemplo n.º 1
0
  @Override
  public Test exportConfigToXml() {
    Test retVal = new Test();
    retVal.setName(myName);
    myEventsModel.exportConfig(retVal);

    return retVal;
  }
Ejemplo n.º 2
0
  /** Constructor */
  public TestImpl(TestBatteryImpl theBattery, Test theConfig) throws ConfigurationException {
    myName = theConfig.getName();
    myBattery = theBattery;

    myEventsModel.initFromXml(theConfig);
  }