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_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}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_3}PROB-NUMBER" />
<attribute name="defaultValue" type="{http://www.dmg.org/PMML-4_3}NUMBER" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
TargetValue() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
TargetValue |
addExtensions(Extension... extensions) |
Double |
getDefaultValue()
Gets the value of the defaultValue property.
|
String |
getDisplayValue()
Gets the value of the displayValue property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
Partition |
getPartition()
Gets the value of the partition property.
|
Double |
getPriorProbability()
Gets the value of the priorProbability property.
|
String |
getValue()
Gets the value of the value property.
|
boolean |
hasExtensions() |
TargetValue |
setDefaultValue(Double defaultValue)
Sets the value of the defaultValue property.
|
TargetValue |
setDisplayValue(String displayValue)
Sets the value of the displayValue property.
|
TargetValue |
setPartition(Partition partition)
Sets the value of the partition property.
|
TargetValue |
setPriorProbability(Double priorProbability)
Sets the value of the priorProbability property.
|
TargetValue |
setValue(String value)
Sets the value of the value property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic String getValue()
Stringpublic TargetValue setValue(String value)
value - allowed object is
Stringpublic String getDisplayValue()
Stringpublic TargetValue setDisplayValue(String displayValue)
displayValue - allowed object is
Stringpublic Double getPriorProbability()
Doublepublic TargetValue setPriorProbability(Double priorProbability)
priorProbability - allowed object is
Doublepublic Double getDefaultValue()
Doublepublic TargetValue setDefaultValue(Double defaultValue)
defaultValue - allowed object is
Doublepublic 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 TargetValue setPartition(Partition partition)
partition - allowed object is
Partitionpublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic TargetValue addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.