public class TestDistributions extends PMMLObject implements com.sun.xml.bind.Locatable, HasExtensions
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_2}Baseline"/>
<element ref="{http://www.dmg.org/PMML-4_2}Alternate" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="field" use="required" type="{http://www.dmg.org/PMML-4_2}FIELD-NAME" />
<attribute name="testStatistic" use="required" type="{http://www.dmg.org/PMML-4_2}BASELINE-TEST-STATISTIC" />
<attribute name="resetValue" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" default="0.0" />
<attribute name="windowSize" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" default="0" />
<attribute name="weightField" type="{http://www.dmg.org/PMML-4_2}FIELD-NAME" />
<attribute name="normalizationScheme" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Alternate |
alternate |
protected Baseline |
baseline |
protected List<Extension> |
extensions |
protected FieldName |
field |
protected Locator |
locator |
protected String |
normalizationScheme |
protected Double |
resetValue |
protected BaselineTestStatisticType |
testStatistic |
protected FieldName |
weightField |
protected Integer |
windowSize |
| Constructor and Description |
|---|
TestDistributions() |
TestDistributions(Baseline baseline,
FieldName field,
BaselineTestStatisticType testStatistic) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Alternate |
getAlternate()
Gets the value of the alternate property.
|
Baseline |
getBaseline()
Gets the value of the baseline property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
FieldName |
getField()
Gets the value of the field property.
|
String |
getNormalizationScheme()
Gets the value of the normalizationScheme property.
|
double |
getResetValue()
Gets the value of the resetValue property.
|
BaselineTestStatisticType |
getTestStatistic()
Gets the value of the testStatistic property.
|
FieldName |
getWeightField()
Gets the value of the weightField property.
|
int |
getWindowSize()
Gets the value of the windowSize property.
|
void |
setAlternate(Alternate value)
Sets the value of the alternate property.
|
void |
setBaseline(Baseline value)
Sets the value of the baseline property.
|
void |
setField(FieldName value)
Sets the value of the field property.
|
void |
setNormalizationScheme(String value)
Sets the value of the normalizationScheme property.
|
void |
setResetValue(Double value)
Sets the value of the resetValue property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setTestStatistic(BaselineTestStatisticType value)
Sets the value of the testStatistic property.
|
void |
setWeightField(FieldName value)
Sets the value of the weightField property.
|
void |
setWindowSize(Integer value)
Sets the value of the windowSize property.
|
Locator |
sourceLocation() |
TestDistributions |
withAlternate(Alternate value) |
TestDistributions |
withBaseline(Baseline value) |
TestDistributions |
withExtensions(Collection<Extension> values) |
TestDistributions |
withExtensions(Extension... values) |
TestDistributions |
withField(FieldName value) |
TestDistributions |
withNormalizationScheme(String value) |
TestDistributions |
withResetValue(Double value) |
TestDistributions |
withTestStatistic(BaselineTestStatisticType value) |
TestDistributions |
withWeightField(FieldName value) |
TestDistributions |
withWindowSize(Integer value) |
protected Baseline baseline
protected Alternate alternate
protected FieldName field
protected BaselineTestStatisticType testStatistic
protected Double resetValue
protected Integer windowSize
protected FieldName weightField
protected String normalizationScheme
protected Locator locator
public TestDistributions()
public TestDistributions(Baseline baseline, FieldName field, BaselineTestStatisticType testStatistic)
public Baseline getBaseline()
Baselinepublic void setBaseline(Baseline value)
value - allowed object is
Baselinepublic Alternate getAlternate()
Alternatepublic void setAlternate(Alternate value)
value - allowed object is
Alternatepublic List<Extension> getExtensions()
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 extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
getExtensions in interface HasExtensionspublic FieldName getField()
Stringpublic void setField(FieldName value)
value - allowed object is
Stringpublic BaselineTestStatisticType getTestStatistic()
BaselineTestStatisticTypepublic void setTestStatistic(BaselineTestStatisticType value)
value - allowed object is
BaselineTestStatisticTypepublic double getResetValue()
Doublepublic void setResetValue(Double value)
value - allowed object is
Doublepublic int getWindowSize()
Stringpublic void setWindowSize(Integer value)
value - allowed object is
Stringpublic FieldName getWeightField()
Stringpublic void setWeightField(FieldName value)
value - allowed object is
Stringpublic String getNormalizationScheme()
Stringpublic void setNormalizationScheme(String value)
value - allowed object is
Stringpublic TestDistributions withBaseline(Baseline value)
public TestDistributions withAlternate(Alternate value)
public TestDistributions withExtensions(Extension... values)
public TestDistributions withExtensions(Collection<Extension> values)
public TestDistributions withField(FieldName value)
public TestDistributions withTestStatistic(BaselineTestStatisticType value)
public TestDistributions withResetValue(Double value)
public TestDistributions withWindowSize(Integer value)
public TestDistributions withWeightField(FieldName value)
public TestDistributions withNormalizationScheme(String value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.