public class Target 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_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.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 java.util.List<Extension> |
extensions |
protected FieldName |
field |
protected java.lang.Double |
max |
protected java.lang.Double |
min |
protected OpType |
opType |
protected java.lang.Double |
rescaleConstant |
protected java.lang.Double |
rescaleFactor |
protected java.util.List<TargetValue> |
targetValues |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Target.CastInteger |
getCastInteger()
Gets the value of the castInteger property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
FieldName |
getField()
Gets the value of the field property.
|
java.lang.Double |
getMax()
Gets the value of the max property.
|
java.lang.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.
|
java.util.List<TargetValue> |
getTargetValues()
Gets the value of the targetValues property.
|
boolean |
hasExtensions() |
boolean |
hasTargetValues() |
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(java.lang.Double value)
Sets the value of the max property.
|
void |
setMin(java.lang.Double value)
Sets the value of the min property.
|
void |
setOpType(OpType value)
Sets the value of the opType property.
|
void |
setRescaleConstant(java.lang.Double value)
Sets the value of the rescaleConstant property.
|
void |
setRescaleFactor(java.lang.Double value)
Sets the value of the rescaleFactor property.
|
Target |
withCastInteger(Target.CastInteger value) |
Target |
withExtensions(java.util.Collection<Extension> values) |
Target |
withExtensions(Extension... values) |
Target |
withField(FieldName value) |
Target |
withMax(java.lang.Double value) |
Target |
withMin(java.lang.Double value) |
Target |
withOpType(OpType value) |
Target |
withRescaleConstant(java.lang.Double value) |
Target |
withRescaleFactor(java.lang.Double value) |
Target |
withTargetValues(java.util.Collection<TargetValue> values) |
Target |
withTargetValues(TargetValue... values) |
getLocator, setLocatorprotected FieldName field
protected OpType opType
protected Target.CastInteger castInteger
protected java.lang.Double min
protected java.lang.Double max
protected java.lang.Double rescaleConstant
protected java.lang.Double rescaleFactor
protected java.util.List<Extension> extensions
protected java.util.List<TargetValue> targetValues
public Target()
public Target(FieldName field)
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 java.lang.Double getMin()
Doublepublic void setMin(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.Double getMax()
Doublepublic void setMax(java.lang.Double value)
value - allowed object is
Doublepublic double getRescaleConstant()
Doublepublic void setRescaleConstant(java.lang.Double value)
value - allowed object is
Doublepublic double getRescaleFactor()
Doublepublic void setRescaleFactor(java.lang.Double value)
value - allowed object is
Doublepublic java.util.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 java.util.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 Target withCastInteger(Target.CastInteger value)
public Target withMin(java.lang.Double value)
public Target withMax(java.lang.Double value)
public Target withRescaleConstant(java.lang.Double value)
public Target withRescaleFactor(java.lang.Double value)
public Target withTargetValues(TargetValue... values)
public Target withTargetValues(java.util.Collection<TargetValue> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasTargetValues()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.