public class Target extends PMMLObject implements com.sun.xml.bind.Locatable
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_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}TargetValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="field" use="required" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
<attribute name="optype" type="{http://www.dmg.org/PMML-4_1}OPTYPE" />
<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="min" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="max" type="{http://www.w3.org/2001/XMLSchema}double" />
<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>
| Modifier and Type | Class and Description |
|---|---|
static class |
Target.CastInteger
Java class for null.
|
| Modifier and Type | Field and Description |
|---|---|
protected Target.CastInteger |
castInteger |
protected List<Extension> |
extensions |
protected FieldName |
field |
protected Locator |
locator |
protected Double |
max |
protected Double |
min |
protected OpType |
optype |
protected Double |
rescaleConstant |
protected Double |
rescaleFactor |
protected List<TargetValue> |
targetValues |
| Constructor and Description |
|---|
Target()
Deprecated.
|
Target(FieldName field) |
| Modifier and Type | Method and Description |
|---|---|
Target.CastInteger |
getCastInteger()
Gets the value of the castInteger property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
FieldName |
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> |
getTargetValues()
Gets the value of the targetValues property.
|
void |
setCastInteger(Target.CastInteger value)
Sets the value of the castInteger property.
|
void |
setField(FieldName 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.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
protected List<TargetValue> targetValues
protected FieldName field
protected OpType optype
protected Target.CastInteger castInteger
protected Double min
protected Double max
protected Double rescaleConstant
protected Double rescaleFactor
protected Locator locator
@Deprecated public Target()
public Target(FieldName field)
public 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
public List<TargetValue> getTargetValues()
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 targetValues property.
For example, to add a new item, do as follows:
getTargetValues().add(newItem);
Objects of the following type(s) are allowed in the list
TargetValue
public FieldName getField()
Stringpublic void setField(FieldName value)
value - allowed object is
Stringpublic OpType getOptype()
OpTypepublic void setOptype(OpType value)
value - allowed object is
OpTypepublic Target.CastInteger getCastInteger()
Target.CastIntegerpublic void setCastInteger(Target.CastInteger value)
value - allowed object is
Target.CastIntegerpublic void setMin(Double value)
value - allowed object is
Doublepublic void setMax(Double value)
value - allowed object is
Doublepublic double getRescaleConstant()
Doublepublic void setRescaleConstant(Double value)
value - allowed object is
Doublepublic double getRescaleFactor()
Doublepublic void setRescaleFactor(Double value)
value - allowed object is
Doublepublic Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectCopyright © 2013 University of Tartu. All Rights Reserved.