Class Target
- java.lang.Object
-
- weka.core.pmml.jaxbbindings.Target
-
public class Target extends java.lang.ObjectJava 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 Summary
Constructors Constructor Description Target()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCastInteger()Gets the value of the castInteger property.java.util.List<Extension>getExtension()Gets the value of the extension property.java.lang.StringgetField()Gets the value of the field property.java.lang.DoublegetMax()Gets the value of the max property.java.lang.DoublegetMin()Gets the value of the min property.OPTYPEgetOptype()Gets the value of the optype property.doublegetRescaleConstant()Gets the value of the rescaleConstant property.doublegetRescaleFactor()Gets the value of the rescaleFactor property.java.util.List<TargetValue>getTargetValue()Gets the value of the targetValue property.voidsetCastInteger(java.lang.String value)Sets the value of the castInteger property.voidsetField(java.lang.String value)Sets the value of the field property.voidsetMax(java.lang.Double value)Sets the value of the max property.voidsetMin(java.lang.Double value)Sets the value of the min property.voidsetOptype(OPTYPE value)Sets the value of the optype property.voidsetRescaleConstant(java.lang.Double value)Sets the value of the rescaleConstant property.voidsetRescaleFactor(java.lang.Double value)Sets the value of the rescaleFactor property.
-
-
-
Method Detail
-
getExtension
public java.util.List<Extension> getExtension()
Gets the value of the extension property.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
setmethod 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
-
getTargetValue
public java.util.List<TargetValue> getTargetValue()
Gets the value of the targetValue property.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
setmethod 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
-
getCastInteger
public java.lang.String getCastInteger()
Gets the value of the castInteger property.- Returns:
- possible object is
String
-
setCastInteger
public void setCastInteger(java.lang.String value)
Sets the value of the castInteger property.- Parameters:
value- allowed object isString
-
getField
public java.lang.String getField()
Gets the value of the field property.- Returns:
- possible object is
String
-
setField
public void setField(java.lang.String value)
Sets the value of the field property.- Parameters:
value- allowed object isString
-
getMax
public java.lang.Double getMax()
Gets the value of the max property.- Returns:
- possible object is
Double
-
setMax
public void setMax(java.lang.Double value)
Sets the value of the max property.- Parameters:
value- allowed object isDouble
-
getMin
public java.lang.Double getMin()
Gets the value of the min property.- Returns:
- possible object is
Double
-
setMin
public void setMin(java.lang.Double value)
Sets the value of the min property.- Parameters:
value- allowed object isDouble
-
getOptype
public OPTYPE getOptype()
Gets the value of the optype property.- Returns:
- possible object is
OPTYPE
-
setOptype
public void setOptype(OPTYPE value)
Sets the value of the optype property.- Parameters:
value- allowed object isOPTYPE
-
getRescaleConstant
public double getRescaleConstant()
Gets the value of the rescaleConstant property.- Returns:
- possible object is
Double
-
setRescaleConstant
public void setRescaleConstant(java.lang.Double value)
Sets the value of the rescaleConstant property.- Parameters:
value- allowed object isDouble
-
getRescaleFactor
public double getRescaleFactor()
Gets the value of the rescaleFactor property.- Returns:
- possible object is
Double
-
setRescaleFactor
public void setRescaleFactor(java.lang.Double value)
Sets the value of the rescaleFactor property.- Parameters:
value- allowed object isDouble
-
-