public class Target extends Object
Java class for Target element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="Target">
<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}TargetValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="castInteger">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="round"/>
<enumeration value="ceiling"/>
<enumeration value="floor"/>
</restriction>
</simpleType>
</attribute>
<attribute name="field" use="required" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
<attribute name="max" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="min" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="optype" type="{http://www.dmg.org/PMML-4_1}OPTYPE" />
<attribute name="rescaleConstant" type="{http://www.w3.org/2001/XMLSchema}double" default="0" />
<attribute name="rescaleFactor" type="{http://www.w3.org/2001/XMLSchema}double" default="1" />
</restriction>
</complexContent>
</complexType>
</element>
| Constructor and Description |
|---|
Target() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCastInteger()
Gets the value of the castInteger property.
|
List<Extension> |
getExtension()
Gets the value of the extension property.
|
String |
getField()
Gets the value of the field property.
|
Double |
getMax()
Gets the value of the max property.
|
Double |
getMin()
Gets the value of the min property.
|
OPTYPE |
getOptype()
Gets the value of the optype property.
|
double |
getRescaleConstant()
Gets the value of the rescaleConstant property.
|
double |
getRescaleFactor()
Gets the value of the rescaleFactor property.
|
List<TargetValue> |
getTargetValue()
Gets the value of the targetValue property.
|
void |
setCastInteger(String value)
Sets the value of the castInteger property.
|
void |
setField(String value)
Sets the value of the field property.
|
void |
setMax(Double value)
Sets the value of the max property.
|
void |
setMin(Double value)
Sets the value of the min property.
|
void |
setOptype(OPTYPE value)
Sets the value of the optype property.
|
void |
setRescaleConstant(Double value)
Sets the value of the rescaleConstant property.
|
void |
setRescaleFactor(Double value)
Sets the value of the rescaleFactor 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 List<TargetValue> getTargetValue()
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 targetValue property.
For example, to add a new item, do as follows:
getTargetValue().add(newItem);
Objects of the following type(s) are allowed in the list
TargetValue
public String getCastInteger()
Stringpublic void setCastInteger(String value)
value - allowed object is
Stringpublic String getField()
Stringpublic void setField(String value)
value - allowed object is
Stringpublic void setMax(Double value)
value - allowed object is
Doublepublic void setMin(Double value)
value - allowed object is
Doublepublic OPTYPE getOptype()
OPTYPEpublic void setOptype(OPTYPE value)
value - allowed object is
OPTYPEpublic double getRescaleConstant()
Doublepublic void setRescaleConstant(Double value)
value - allowed object is
Doublepublic double getRescaleFactor()
DoubleCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.