public class Target extends PMMLObject implements HasExtensions, Indexable<FieldName>
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}TargetValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="field" use="required" type="{http://www.dmg.org/PMML-4_2}FIELD-NAME" />
<attribute name="optype" type="{http://www.dmg.org/PMML-4_2}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.dmg.org/PMML-4_2}NUMBER" />
<attribute name="max" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
<attribute name="rescaleConstant" type="{http://www.dmg.org/PMML-4_2}NUMBER" default="0" />
<attribute name="rescaleFactor" type="{http://www.dmg.org/PMML-4_2}NUMBER" default="1" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Target.CastInteger
Java class for null.
|
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Target |
addExtensions(Extension... extensions) |
Target |
addTargetValues(TargetValue... targetValues) |
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.
|
FieldName |
getKey() |
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.
|
boolean |
hasExtensions() |
boolean |
hasTargetValues() |
Target |
setCastInteger(Target.CastInteger castInteger)
Sets the value of the castInteger property.
|
Target |
setField(FieldName field)
Sets the value of the field property.
|
Target |
setMax(Double max)
Sets the value of the max property.
|
Target |
setMin(Double min)
Sets the value of the min property.
|
Target |
setOpType(OpType opType)
Sets the value of the opType property.
|
Target |
setRescaleConstant(Double rescaleConstant)
Sets the value of the rescaleConstant property.
|
Target |
setRescaleFactor(Double rescaleFactor)
Sets the value of the rescaleFactor property.
|
getLocator, setLocatorpublic Target()
public Target(FieldName field)
public FieldName getField()
Stringpublic Target setField(FieldName field)
field - allowed object is
Stringpublic OpType getOpType()
OpTypepublic Target setOpType(OpType opType)
opType - allowed object is
OpTypepublic Target.CastInteger getCastInteger()
Target.CastIntegerpublic Target setCastInteger(Target.CastInteger castInteger)
castInteger - allowed object is
Target.CastIntegerpublic Target setMin(Double min)
min - allowed object is
Doublepublic Target setMax(Double max)
max - allowed object is
Doublepublic Double getRescaleConstant()
Doublepublic Target setRescaleConstant(Double rescaleConstant)
rescaleConstant - allowed object is
Doublepublic Double getRescaleFactor()
Doublepublic Target setRescaleFactor(Double rescaleFactor)
rescaleFactor - 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 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 getKey()
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasTargetValues()
public Target addTargetValues(TargetValue... targetValues)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.