public class Target extends PMMLObject implements com.sun.xml.bind.Locatable, 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 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 |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
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() |
Target |
withCastInteger(Target.CastInteger value) |
Target |
withExtensions(Collection<Extension> values) |
Target |
withExtensions(Extension... values) |
Target |
withField(FieldName value) |
Target |
withMax(Double value) |
Target |
withMin(Double value) |
Target |
withOptype(OpType value) |
Target |
withRescaleConstant(Double value) |
Target |
withRescaleFactor(Double value) |
Target |
withTargetValues(Collection<TargetValue> values) |
Target |
withTargetValues(TargetValue... values) |
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
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
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 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 Target withExtensions(Collection<Extension> values)
public Target withTargetValues(TargetValue... values)
public Target withTargetValues(Collection<TargetValue> values)
public Target withCastInteger(Target.CastInteger value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.