public class MiningField extends Field 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_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
<attribute name="usageType" type="{http://www.dmg.org/PMML-4_1}FIELD-USAGE-TYPE" default="active" />
<attribute name="optype" type="{http://www.dmg.org/PMML-4_1}OPTYPE" />
<attribute name="importance" type="{http://www.dmg.org/PMML-4_1}PROB-NUMBER" />
<attribute name="outliers" type="{http://www.dmg.org/PMML-4_1}OUTLIER-TREATMENT-METHOD" default="asIs" />
<attribute name="lowValue" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
<attribute name="highValue" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
<attribute name="missingValueReplacement" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="missingValueTreatment" type="{http://www.dmg.org/PMML-4_1}MISSING-VALUE-TREATMENT-METHOD" />
<attribute name="invalidValueTreatment" type="{http://www.dmg.org/PMML-4_1}INVALID-VALUE-TREATMENT-METHOD" default="returnInvalid" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Extension> |
extensions |
protected Double |
highValue |
protected Double |
importance |
protected InvalidValueTreatmentMethodType |
invalidValueTreatment |
protected Locator |
locator |
protected Double |
lowValue |
protected String |
missingValueReplacement |
protected MissingValueTreatmentMethodType |
missingValueTreatment |
protected FieldName |
name |
protected OpType |
optype |
protected OutlierTreatmentMethodType |
outlierTreatment |
protected FieldUsageType |
usageType |
| Constructor and Description |
|---|
MiningField()
Deprecated.
|
MiningField(FieldName name) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
DataType |
getDataType()
Gets the value of the dataType property.
|
String |
getDisplayName()
Gets the value of the displayName property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
Double |
getHighValue()
Gets the value of the highValue property.
|
Double |
getImportance()
Gets the value of the importance property.
|
InvalidValueTreatmentMethodType |
getInvalidValueTreatment()
Gets the value of the invalidValueTreatment property.
|
Double |
getLowValue()
Gets the value of the lowValue property.
|
String |
getMissingValueReplacement()
Gets the value of the missingValueReplacement property.
|
MissingValueTreatmentMethodType |
getMissingValueTreatment()
Gets the value of the missingValueTreatment property.
|
FieldName |
getName()
Gets the value of the name property.
|
OpType |
getOptype()
Gets the value of the optype property.
|
OutlierTreatmentMethodType |
getOutlierTreatment()
Gets the value of the outlierTreatment property.
|
FieldUsageType |
getUsageType()
Gets the value of the usageType property.
|
void |
setDataType(DataType dataType)
Sets the value of the dataType property.
|
void |
setDisplayName(String displayName)
Sets the value of the displayName property.
|
void |
setHighValue(Double value)
Sets the value of the highValue property.
|
void |
setImportance(Double value)
Sets the value of the importance property.
|
void |
setInvalidValueTreatment(InvalidValueTreatmentMethodType value)
Sets the value of the invalidValueTreatment property.
|
void |
setLowValue(Double value)
Sets the value of the lowValue property.
|
void |
setMissingValueReplacement(String value)
Sets the value of the missingValueReplacement property.
|
void |
setMissingValueTreatment(MissingValueTreatmentMethodType value)
Sets the value of the missingValueTreatment property.
|
void |
setName(FieldName value)
Sets the value of the name property.
|
void |
setOptype(OpType value)
Sets the value of the optype property.
|
void |
setOutlierTreatment(OutlierTreatmentMethodType value)
Sets the value of the outlierTreatment property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setUsageType(FieldUsageType value)
Sets the value of the usageType property.
|
Locator |
sourceLocation() |
MiningField |
withExtensions(Collection<Extension> values) |
MiningField |
withExtensions(Extension... values) |
MiningField |
withHighValue(Double value) |
MiningField |
withImportance(Double value) |
MiningField |
withInvalidValueTreatment(InvalidValueTreatmentMethodType value) |
MiningField |
withLowValue(Double value) |
MiningField |
withMissingValueReplacement(String value) |
MiningField |
withMissingValueTreatment(MissingValueTreatmentMethodType value) |
MiningField |
withName(FieldName value) |
MiningField |
withOptype(OpType value) |
MiningField |
withOutlierTreatment(OutlierTreatmentMethodType value) |
MiningField |
withUsageType(FieldUsageType value) |
protected FieldName name
protected FieldUsageType usageType
protected OpType optype
protected Double importance
protected OutlierTreatmentMethodType outlierTreatment
protected Double lowValue
protected Double highValue
protected String missingValueReplacement
protected MissingValueTreatmentMethodType missingValueTreatment
protected InvalidValueTreatmentMethodType invalidValueTreatment
protected Locator locator
@Deprecated public MiningField()
public MiningField(FieldName name)
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 FieldName getName()
public void setName(FieldName value)
public FieldUsageType getUsageType()
FieldUsageTypepublic void setUsageType(FieldUsageType value)
value - allowed object is
FieldUsageTypepublic OpType getOptype()
public void setOptype(OpType value)
public Double getImportance()
Stringpublic void setImportance(Double value)
value - allowed object is
Stringpublic OutlierTreatmentMethodType getOutlierTreatment()
OutlierTreatmentMethodTypepublic void setOutlierTreatment(OutlierTreatmentMethodType value)
value - allowed object is
OutlierTreatmentMethodTypepublic Double getLowValue()
Doublepublic void setLowValue(Double value)
value - allowed object is
Doublepublic Double getHighValue()
Doublepublic void setHighValue(Double value)
value - allowed object is
Doublepublic String getMissingValueReplacement()
Stringpublic void setMissingValueReplacement(String value)
value - allowed object is
Stringpublic MissingValueTreatmentMethodType getMissingValueTreatment()
MissingValueTreatmentMethodTypepublic void setMissingValueTreatment(MissingValueTreatmentMethodType value)
value - allowed object is
MissingValueTreatmentMethodTypepublic InvalidValueTreatmentMethodType getInvalidValueTreatment()
InvalidValueTreatmentMethodTypepublic void setInvalidValueTreatment(InvalidValueTreatmentMethodType value)
value - allowed object is
InvalidValueTreatmentMethodTypepublic MiningField withExtensions(Extension... values)
public MiningField withExtensions(Collection<Extension> values)
public MiningField withName(FieldName value)
public MiningField withUsageType(FieldUsageType value)
public MiningField withOptype(OpType value)
public MiningField withImportance(Double value)
public MiningField withOutlierTreatment(OutlierTreatmentMethodType value)
public MiningField withLowValue(Double value)
public MiningField withHighValue(Double value)
public MiningField withMissingValueReplacement(String value)
public MiningField withMissingValueTreatment(MissingValueTreatmentMethodType value)
public MiningField withInvalidValueTreatment(InvalidValueTreatmentMethodType value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic String getDisplayName()
getDisplayName in class FieldUnsupportedOperationException - Always.public void setDisplayName(String displayName)
setDisplayName in class FieldUnsupportedOperationException - Always.public DataType getDataType()
getDataType in class FieldUnsupportedOperationException - Always.public void setDataType(DataType dataType)
setDataType in class FieldUnsupportedOperationException - Always.public VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.