public class MiningField extends Field 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"/>
</sequence>
<attribute name="name" use="required" type="{http://www.dmg.org/PMML-4_2}FIELD-NAME" />
<attribute name="usageType" type="{http://www.dmg.org/PMML-4_2}FIELD-USAGE-TYPE" default="active" />
<attribute name="optype" type="{http://www.dmg.org/PMML-4_2}OPTYPE" />
<attribute name="importance" type="{http://www.dmg.org/PMML-4_2}PROB-NUMBER" />
<attribute name="outliers" type="{http://www.dmg.org/PMML-4_2}OUTLIER-TREATMENT-METHOD" default="asIs" />
<attribute name="lowValue" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
<attribute name="highValue" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
<attribute name="missingValueReplacement" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="missingValueTreatment" type="{http://www.dmg.org/PMML-4_2}MISSING-VALUE-TREATMENT-METHOD" />
<attribute name="invalidValueTreatment" type="{http://www.dmg.org/PMML-4_2}INVALID-VALUE-TREATMENT-METHOD" default="returnInvalid" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
MiningField() |
MiningField(FieldName name) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
MiningField |
addExtensions(Extension... extensions) |
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.
|
boolean |
hasExtensions() |
MiningField |
setDataType(DataType dataType)
Sets the value of the dataType property.
|
MiningField |
setDisplayName(String displayName)
Sets the value of the displayName property.
|
MiningField |
setHighValue(Double highValue)
Sets the value of the highValue property.
|
MiningField |
setImportance(Double importance)
Sets the value of the importance property.
|
MiningField |
setInvalidValueTreatment(InvalidValueTreatmentMethodType invalidValueTreatment)
Sets the value of the invalidValueTreatment property.
|
MiningField |
setLowValue(Double lowValue)
Sets the value of the lowValue property.
|
MiningField |
setMissingValueReplacement(String missingValueReplacement)
Sets the value of the missingValueReplacement property.
|
MiningField |
setMissingValueTreatment(MissingValueTreatmentMethodType missingValueTreatment)
Sets the value of the missingValueTreatment property.
|
MiningField |
setName(FieldName name)
Sets the value of the name property.
|
MiningField |
setOpType(OpType opType)
Sets the value of the opType property.
|
MiningField |
setOutlierTreatment(OutlierTreatmentMethodType outlierTreatment)
Sets the value of the outlierTreatment property.
|
MiningField |
setUsageType(FieldUsageType usageType)
Sets the value of the usageType property.
|
getLocator, setLocatorpublic MiningField()
public MiningField(FieldName name)
public FieldName getName()
public MiningField setName(FieldName name)
public FieldUsageType getUsageType()
FieldUsageTypepublic MiningField setUsageType(FieldUsageType usageType)
usageType - allowed object is
FieldUsageTypepublic OpType getOpType()
public MiningField setOpType(OpType opType)
public Double getImportance()
Stringpublic MiningField setImportance(Double importance)
importance - allowed object is
Stringpublic OutlierTreatmentMethodType getOutlierTreatment()
OutlierTreatmentMethodTypepublic MiningField setOutlierTreatment(OutlierTreatmentMethodType outlierTreatment)
outlierTreatment - allowed object is
OutlierTreatmentMethodTypepublic Double getLowValue()
Doublepublic MiningField setLowValue(Double lowValue)
lowValue - allowed object is
Doublepublic Double getHighValue()
Doublepublic MiningField setHighValue(Double highValue)
highValue - allowed object is
Doublepublic String getMissingValueReplacement()
Stringpublic MiningField setMissingValueReplacement(String missingValueReplacement)
missingValueReplacement - allowed object is
Stringpublic MissingValueTreatmentMethodType getMissingValueTreatment()
MissingValueTreatmentMethodTypepublic MiningField setMissingValueTreatment(MissingValueTreatmentMethodType missingValueTreatment)
missingValueTreatment - allowed object is
MissingValueTreatmentMethodTypepublic InvalidValueTreatmentMethodType getInvalidValueTreatment()
InvalidValueTreatmentMethodTypepublic MiningField setInvalidValueTreatment(InvalidValueTreatmentMethodType invalidValueTreatment)
invalidValueTreatment - allowed object is
InvalidValueTreatmentMethodTypepublic 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 boolean hasExtensions()
hasExtensions in interface HasExtensionspublic MiningField addExtensions(Extension... extensions)
public String getDisplayName()
getDisplayName in class FieldUnsupportedOperationException - Always.public MiningField setDisplayName(String displayName)
setDisplayName in class FieldUnsupportedOperationException - Always.public DataType getDataType()
getDataType in class FieldUnsupportedOperationException - Always.public MiningField setDataType(DataType dataType)
setDataType in class FieldUnsupportedOperationException - Always.public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.