public class TargetValue 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}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Partition" minOccurs="0"/>
</sequence>
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="displayValue" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="priorProbability" type="{http://www.dmg.org/PMML-4_2}PROB-NUMBER" />
<attribute name="defaultValue" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Double |
defaultValue |
protected java.lang.String |
displayValue |
protected java.util.List<Extension> |
extensions |
protected Partition |
partition |
protected java.lang.Double |
priorProbability |
protected java.lang.String |
value |
| Constructor and Description |
|---|
TargetValue() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.Double |
getDefaultValue()
Gets the value of the defaultValue property.
|
java.lang.String |
getDisplayValue()
Gets the value of the displayValue property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
Partition |
getPartition()
Gets the value of the partition property.
|
java.lang.Double |
getPriorProbability()
Gets the value of the priorProbability property.
|
java.lang.String |
getValue()
Gets the value of the value property.
|
boolean |
hasExtensions() |
void |
setDefaultValue(java.lang.Double value)
Sets the value of the defaultValue property.
|
void |
setDisplayValue(java.lang.String value)
Sets the value of the displayValue property.
|
void |
setPartition(Partition value)
Sets the value of the partition property.
|
void |
setPriorProbability(java.lang.Double value)
Sets the value of the priorProbability property.
|
void |
setValue(java.lang.String value)
Sets the value of the value property.
|
TargetValue |
withDefaultValue(java.lang.Double value) |
TargetValue |
withDisplayValue(java.lang.String value) |
TargetValue |
withExtensions(java.util.Collection<Extension> values) |
TargetValue |
withExtensions(Extension... values) |
TargetValue |
withPartition(Partition value) |
TargetValue |
withPriorProbability(java.lang.Double value) |
TargetValue |
withValue(java.lang.String value) |
getLocator, setLocatorprotected java.lang.String value
protected java.lang.String displayValue
protected java.lang.Double priorProbability
protected java.lang.Double defaultValue
protected java.util.List<Extension> extensions
protected Partition partition
public java.lang.String getValue()
Stringpublic void setValue(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getDisplayValue()
Stringpublic void setDisplayValue(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Double getPriorProbability()
Stringpublic void setPriorProbability(java.lang.Double value)
value - allowed object is
Stringpublic java.lang.Double getDefaultValue()
Doublepublic void setDefaultValue(java.lang.Double value)
value - allowed object is
Doublepublic 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 Partition getPartition()
Partitionpublic void setPartition(Partition value)
value - allowed object is
Partitionpublic TargetValue withValue(java.lang.String value)
public TargetValue withDisplayValue(java.lang.String value)
public TargetValue withPriorProbability(java.lang.Double value)
public TargetValue withDefaultValue(java.lang.Double value)
public TargetValue withExtensions(Extension... values)
public TargetValue withExtensions(java.util.Collection<Extension> values)
public TargetValue withPartition(Partition value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.