public class TargetValue extends Object
Java class for TargetValue element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="TargetValue">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}Partition" minOccurs="0"/>
</sequence>
<attribute name="defaultValue" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
<attribute name="displayValue" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="priorProbability" type="{http://www.dmg.org/PMML-4_1}PROB-NUMBER" />
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
| Constructor and Description |
|---|
TargetValue() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getDefaultValue()
Gets the value of the defaultValue property.
|
String |
getDisplayValue()
Gets the value of the displayValue property.
|
List<Extension> |
getExtension()
Gets the value of the extension property.
|
Partition |
getPartition()
Gets the value of the partition property.
|
BigDecimal |
getPriorProbability()
Gets the value of the priorProbability property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setDefaultValue(Double value)
Sets the value of the defaultValue property.
|
void |
setDisplayValue(String value)
Sets the value of the displayValue property.
|
void |
setPartition(Partition value)
Sets the value of the partition property.
|
void |
setPriorProbability(BigDecimal value)
Sets the value of the priorProbability property.
|
void |
setValue(String value)
Sets the value of the value property.
|
public List<Extension> getExtension()
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
Extension
public Partition getPartition()
Partitionpublic void setPartition(Partition value)
value - allowed object is
Partitionpublic Double getDefaultValue()
Doublepublic void setDefaultValue(Double value)
value - allowed object is
Doublepublic String getDisplayValue()
Stringpublic void setDisplayValue(String value)
value - allowed object is
Stringpublic BigDecimal getPriorProbability()
BigDecimalpublic void setPriorProbability(BigDecimal value)
value - allowed object is
BigDecimalpublic String getValue()
StringCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.