XmlSeatsSpec extends XmlDecompositionSpec { public void setMethod(SeatsSpecification.EstimationMethod value) { if (value == SeatsSpecification.EstimationMethod.Burman) { this.method = null; } else { this.method = value; } }  Double getEpsPhi(); void setEpsPhi(Double value); Double getRMod(); void setRMod(Double value); Double getSMod(); void setSMod(Double value); Double getStSMod(); void setStSMod(Double value); Double getXL(); void setXL(Double value); SeatsSpecification.ApproximationMode getForceModel(); void setForceModel(SeatsSpecification.ApproximationMode value); SeatsSpecification.EstimationMethod getMethod(); void setMethod(SeatsSpecification.EstimationMethod value); static final InPlaceXmlUnmarshaller<XmlSeatsSpec, SeatsSpecification> UNMARSHALLER; static final InPlaceXmlMarshaller<XmlSeatsSpec, SeatsSpecification> MARSHALLER; }
@Test public void testMarshalling() { SeatsSpecification spec1 = new SeatsSpecification(); test(spec1); spec1.setApproximationMode(SeatsSpecification.ApproximationMode.None); spec1.setMethod(SeatsSpecification.EstimationMethod.KalmanSmoother); test(spec1); spec1.setSeasBoundary(0.5); spec1.setSeasBoundary1(0.6); test(spec1); spec1.setSeasTolerance(0); spec1.setTrendBoundary(.8); spec1.setXlBoundary(.9); test(spec1); }