weka.core.pmml.jaxbbindings.TestDistributions Maven / Gradle / Ivy
Show all versions of weka-dev Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.12.20 at 12:48:21 PM GMT
//
package weka.core.pmml.jaxbbindings;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for TestDistributions element declaration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <element name="TestDistributions">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.dmg.org/PMML-4_1}Baseline"/>
* <element ref="{http://www.dmg.org/PMML-4_1}Alternate" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="field" use="required" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
* <attribute name="normalizationScheme" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="resetValue" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" default="0.0" />
* <attribute name="testStatistic" use="required" type="{http://www.dmg.org/PMML-4_1}BASELINE-TEST-STATISTIC" />
* <attribute name="weightField" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
* <attribute name="windowSize" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" default="0" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"baseline",
"alternate",
"extension"
})
@XmlRootElement(name = "TestDistributions")
public class TestDistributions {
@XmlElement(name = "Baseline", namespace = "http://www.dmg.org/PMML-4_1", required = true)
protected Baseline baseline;
@XmlElement(name = "Alternate", namespace = "http://www.dmg.org/PMML-4_1")
protected Alternate alternate;
@XmlElement(name = "Extension", namespace = "http://www.dmg.org/PMML-4_1", required = true)
protected List extension;
@XmlAttribute(required = true)
protected String field;
@XmlAttribute
protected String normalizationScheme;
@XmlAttribute
protected Double resetValue;
@XmlAttribute(required = true)
protected BASELINETESTSTATISTIC testStatistic;
@XmlAttribute
protected String weightField;
@XmlAttribute
protected BigInteger windowSize;
/**
* Gets the value of the baseline property.
*
* @return
* possible object is
* {@link Baseline }
*
*/
public Baseline getBaseline() {
return baseline;
}
/**
* Sets the value of the baseline property.
*
* @param value
* allowed object is
* {@link Baseline }
*
*/
public void setBaseline(Baseline value) {
this.baseline = value;
}
/**
* Gets the value of the alternate property.
*
* @return
* possible object is
* {@link Alternate }
*
*/
public Alternate getAlternate() {
return alternate;
}
/**
* Sets the value of the alternate property.
*
* @param value
* allowed object is
* {@link Alternate }
*
*/
public void setAlternate(Alternate value) {
this.alternate = value;
}
/**
* Gets the value of the extension property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the extension property.
*
*
* For example, to add a new item, do as follows:
*
* getExtension().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Extension }
*
*
*/
public List getExtension() {
if (extension == null) {
extension = new ArrayList();
}
return this.extension;
}
/**
* Gets the value of the field property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getField() {
return field;
}
/**
* Sets the value of the field property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setField(String value) {
this.field = value;
}
/**
* Gets the value of the normalizationScheme property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNormalizationScheme() {
return normalizationScheme;
}
/**
* Sets the value of the normalizationScheme property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNormalizationScheme(String value) {
this.normalizationScheme = value;
}
/**
* Gets the value of the resetValue property.
*
* @return
* possible object is
* {@link Double }
*
*/
public double getResetValue() {
if (resetValue == null) {
return 0.0D;
} else {
return resetValue;
}
}
/**
* Sets the value of the resetValue property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setResetValue(Double value) {
this.resetValue = value;
}
/**
* Gets the value of the testStatistic property.
*
* @return
* possible object is
* {@link BASELINETESTSTATISTIC }
*
*/
public BASELINETESTSTATISTIC getTestStatistic() {
return testStatistic;
}
/**
* Sets the value of the testStatistic property.
*
* @param value
* allowed object is
* {@link BASELINETESTSTATISTIC }
*
*/
public void setTestStatistic(BASELINETESTSTATISTIC value) {
this.testStatistic = value;
}
/**
* Gets the value of the weightField property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWeightField() {
return weightField;
}
/**
* Sets the value of the weightField property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWeightField(String value) {
this.weightField = value;
}
/**
* Gets the value of the windowSize property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getWindowSize() {
if (windowSize == null) {
return new BigInteger("0");
} else {
return windowSize;
}
}
/**
* Sets the value of the windowSize property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setWindowSize(BigInteger value) {
this.windowSize = value;
}
}