public class TestDistributions extends PMMLObject implements 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>
| Constructor and Description |
|---|
TestDistributions() |
TestDistributions(FieldName field,
BaselineTestStatisticType testStatistic,
Baseline baseline) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
TestDistributions |
addExtensions(Extension... extensions) |
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.
|
boolean |
hasExtensions() |
TestDistributions |
setAlternate(Alternate alternate)
Sets the value of the alternate property.
|
TestDistributions |
setBaseline(Baseline baseline)
Sets the value of the baseline property.
|
TestDistributions |
setField(FieldName field)
Sets the value of the field property.
|
TestDistributions |
setNormalizationScheme(String normalizationScheme)
Sets the value of the normalizationScheme property.
|
TestDistributions |
setResetValue(Double resetValue)
Sets the value of the resetValue property.
|
TestDistributions |
setTestStatistic(BaselineTestStatisticType testStatistic)
Sets the value of the testStatistic property.
|
TestDistributions |
setWeightField(FieldName weightField)
Sets the value of the weightField property.
|
TestDistributions |
setWindowSize(Integer windowSize)
Sets the value of the windowSize property.
|
getLocator, setLocatorpublic TestDistributions()
public TestDistributions(FieldName field, BaselineTestStatisticType testStatistic, Baseline baseline)
public FieldName getField()
Stringpublic TestDistributions setField(FieldName field)
field - allowed object is
Stringpublic BaselineTestStatisticType getTestStatistic()
BaselineTestStatisticTypepublic TestDistributions setTestStatistic(BaselineTestStatisticType testStatistic)
testStatistic - allowed object is
BaselineTestStatisticTypepublic double getResetValue()
Doublepublic TestDistributions setResetValue(Double resetValue)
resetValue - allowed object is
Doublepublic int getWindowSize()
Stringpublic TestDistributions setWindowSize(Integer windowSize)
windowSize - allowed object is
Stringpublic FieldName getWeightField()
Stringpublic TestDistributions setWeightField(FieldName weightField)
weightField - allowed object is
Stringpublic String getNormalizationScheme()
Stringpublic TestDistributions setNormalizationScheme(String normalizationScheme)
normalizationScheme - allowed object is
Stringpublic Baseline getBaseline()
Baselinepublic TestDistributions setBaseline(Baseline baseline)
baseline - allowed object is
Baselinepublic Alternate getAlternate()
Alternatepublic TestDistributions setAlternate(Alternate alternate)
alternate - 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 boolean hasExtensions()
hasExtensions in interface HasExtensionspublic TestDistributions addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.