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>
| Modifier and Type | Field and Description |
|---|---|
protected Alternate |
alternate |
protected Baseline |
baseline |
protected java.util.List<Extension> |
extensions |
protected FieldName |
field |
protected java.lang.String |
normalizationScheme |
protected java.lang.Double |
resetValue |
protected BaselineTestStatisticType |
testStatistic |
protected FieldName |
weightField |
protected java.lang.Integer |
windowSize |
| Constructor and Description |
|---|
TestDistributions() |
TestDistributions(FieldName field,
BaselineTestStatisticType testStatistic,
Baseline baseline) |
| 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.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
FieldName |
getField()
Gets the value of the field property.
|
java.lang.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() |
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(java.lang.String value)
Sets the value of the normalizationScheme property.
|
void |
setResetValue(java.lang.Double value)
Sets the value of the resetValue property.
|
void |
setTestStatistic(BaselineTestStatisticType value)
Sets the value of the testStatistic property.
|
void |
setWeightField(FieldName value)
Sets the value of the weightField property.
|
void |
setWindowSize(java.lang.Integer value)
Sets the value of the windowSize property.
|
TestDistributions |
withAlternate(Alternate value) |
TestDistributions |
withBaseline(Baseline value) |
TestDistributions |
withExtensions(java.util.Collection<Extension> values) |
TestDistributions |
withExtensions(Extension... values) |
TestDistributions |
withField(FieldName value) |
TestDistributions |
withNormalizationScheme(java.lang.String value) |
TestDistributions |
withResetValue(java.lang.Double value) |
TestDistributions |
withTestStatistic(BaselineTestStatisticType value) |
TestDistributions |
withWeightField(FieldName value) |
TestDistributions |
withWindowSize(java.lang.Integer value) |
getLocator, setLocatorprotected FieldName field
protected BaselineTestStatisticType testStatistic
protected java.lang.Double resetValue
protected java.lang.Integer windowSize
protected FieldName weightField
protected java.lang.String normalizationScheme
protected Baseline baseline
protected Alternate alternate
protected java.util.List<Extension> extensions
public TestDistributions()
public TestDistributions(FieldName field, BaselineTestStatisticType testStatistic, Baseline baseline)
public 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(java.lang.Double value)
value - allowed object is
Doublepublic int getWindowSize()
Stringpublic void setWindowSize(java.lang.Integer value)
value - allowed object is
Stringpublic FieldName getWeightField()
Stringpublic void setWeightField(FieldName value)
value - allowed object is
Stringpublic java.lang.String getNormalizationScheme()
Stringpublic void setNormalizationScheme(java.lang.String value)
value - allowed object is
Stringpublic Baseline getBaseline()
Baselinepublic void setBaseline(Baseline value)
value - allowed object is
Baselinepublic Alternate getAlternate()
Alternatepublic void setAlternate(Alternate value)
value - allowed object is
Alternatepublic java.util.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 TestDistributions withField(FieldName value)
public TestDistributions withTestStatistic(BaselineTestStatisticType value)
public TestDistributions withResetValue(java.lang.Double value)
public TestDistributions withWindowSize(java.lang.Integer value)
public TestDistributions withWeightField(FieldName value)
public TestDistributions withNormalizationScheme(java.lang.String value)
public TestDistributions withBaseline(Baseline value)
public TestDistributions withAlternate(Alternate value)
public TestDistributions withExtensions(Extension... values)
public TestDistributions withExtensions(java.util.Collection<Extension> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.