public class OutputField 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_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<sequence minOccurs="0">
<element ref="{http://www.dmg.org/PMML-4_2}Decisions" minOccurs="0"/>
<group ref="{http://www.dmg.org/PMML-4_2}EXPRESSION"/>
</sequence>
</sequence>
<attribute name="name" use="required" type="{http://www.dmg.org/PMML-4_2}FIELD-NAME" />
<attribute name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="optype" type="{http://www.dmg.org/PMML-4_2}OPTYPE" />
<attribute name="dataType" type="{http://www.dmg.org/PMML-4_2}DATATYPE" />
<attribute name="targetField" type="{http://www.dmg.org/PMML-4_2}FIELD-NAME" />
<attribute name="feature" type="{http://www.dmg.org/PMML-4_2}RESULT-FEATURE" default="predictedValue" />
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="ruleFeature" type="{http://www.dmg.org/PMML-4_2}RULE-FEATURE" default="consequent" />
<attribute name="algorithm" default="exclusiveRecommendation">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="recommendation"/>
<enumeration value="exclusiveRecommendation"/>
<enumeration value="ruleAssociation"/>
</restriction>
</simpleType>
</attribute>
<attribute name="rank" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" default="1" />
<attribute name="rankBasis" default="confidence">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="confidence"/>
<enumeration value="support"/>
<enumeration value="lift"/>
<enumeration value="leverage"/>
<enumeration value="affinity"/>
</restriction>
</simpleType>
</attribute>
<attribute name="rankOrder" default="descending">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="descending"/>
<enumeration value="ascending"/>
</restriction>
</simpleType>
</attribute>
<attribute name="isMultiValued" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="0" />
<attribute name="segmentId" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
OutputField.Algorithm
Java class for null.
|
static class |
OutputField.RankBasis
Java class for null.
|
static class |
OutputField.RankOrder
Java class for null.
|
| Modifier and Type | Field and Description |
|---|---|
protected OutputField.Algorithm |
algorithm |
protected DataType |
dataType |
protected Decisions |
decisions |
protected String |
displayName |
protected Expression |
expression |
protected List<Extension> |
extensions |
protected ResultFeatureType |
feature |
protected String |
isMultiValued |
protected Locator |
locator |
protected FieldName |
name |
protected OpType |
optype |
protected Integer |
rank |
protected OutputField.RankBasis |
rankBasis |
protected OutputField.RankOrder |
rankOrder |
protected RuleFeatureType |
ruleFeature |
protected String |
segmentId |
protected FieldName |
targetField |
protected String |
value |
| Constructor and Description |
|---|
OutputField()
Deprecated.
|
OutputField(FieldName name) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
OutputField.Algorithm |
getAlgorithm()
Gets the value of the algorithm property.
|
DataType |
getDataType()
Gets the value of the dataType property.
|
Decisions |
getDecisions()
Gets the value of the decisions property.
|
String |
getDisplayName()
Gets the value of the displayName property.
|
Expression |
getExpression()
Gets the value of the expression property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
ResultFeatureType |
getFeature()
Gets the value of the feature property.
|
String |
getIsMultiValued()
Gets the value of the isMultiValued property.
|
FieldName |
getName()
Gets the value of the name property.
|
OpType |
getOptype()
Gets the value of the optype property.
|
int |
getRank()
Gets the value of the rank property.
|
OutputField.RankBasis |
getRankBasis()
Gets the value of the rankBasis property.
|
OutputField.RankOrder |
getRankOrder()
Gets the value of the rankOrder property.
|
RuleFeatureType |
getRuleFeature()
Gets the value of the ruleFeature property.
|
String |
getSegmentId()
Gets the value of the segmentId property.
|
FieldName |
getTargetField()
Gets the value of the targetField property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setAlgorithm(OutputField.Algorithm value)
Sets the value of the algorithm property.
|
void |
setDataType(DataType value)
Sets the value of the dataType property.
|
void |
setDecisions(Decisions value)
Sets the value of the decisions property.
|
void |
setDisplayName(String value)
Sets the value of the displayName property.
|
void |
setExpression(Expression value)
Sets the value of the expression property.
|
void |
setFeature(ResultFeatureType value)
Sets the value of the feature property.
|
void |
setIsMultiValued(String value)
Sets the value of the isMultiValued property.
|
void |
setName(FieldName value)
Sets the value of the name property.
|
void |
setOptype(OpType value)
Sets the value of the optype property.
|
void |
setRank(Integer value)
Sets the value of the rank property.
|
void |
setRankBasis(OutputField.RankBasis value)
Sets the value of the rankBasis property.
|
void |
setRankOrder(OutputField.RankOrder value)
Sets the value of the rankOrder property.
|
void |
setRuleFeature(RuleFeatureType value)
Sets the value of the ruleFeature property.
|
void |
setSegmentId(String value)
Sets the value of the segmentId property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setTargetField(FieldName value)
Sets the value of the targetField property.
|
void |
setValue(String value)
Sets the value of the value property.
|
Locator |
sourceLocation() |
OutputField |
withAlgorithm(OutputField.Algorithm value) |
OutputField |
withDataType(DataType value) |
OutputField |
withDecisions(Decisions value) |
OutputField |
withDisplayName(String value) |
OutputField |
withExpression(Expression value) |
OutputField |
withExtensions(Collection<Extension> values) |
OutputField |
withExtensions(Extension... values) |
OutputField |
withFeature(ResultFeatureType value) |
OutputField |
withIsMultiValued(String value) |
OutputField |
withName(FieldName value) |
OutputField |
withOptype(OpType value) |
OutputField |
withRank(Integer value) |
OutputField |
withRankBasis(OutputField.RankBasis value) |
OutputField |
withRankOrder(OutputField.RankOrder value) |
OutputField |
withRuleFeature(RuleFeatureType value) |
OutputField |
withSegmentId(String value) |
OutputField |
withTargetField(FieldName value) |
OutputField |
withValue(String value) |
protected Decisions decisions
protected Expression expression
protected FieldName name
protected String displayName
protected OpType optype
protected DataType dataType
protected FieldName targetField
protected ResultFeatureType feature
protected String value
protected RuleFeatureType ruleFeature
protected OutputField.Algorithm algorithm
protected Integer rank
protected OutputField.RankBasis rankBasis
protected OutputField.RankOrder rankOrder
protected String isMultiValued
protected String segmentId
protected Locator locator
@Deprecated public OutputField()
public OutputField(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 Decisions getDecisions()
Decisionspublic void setDecisions(Decisions value)
value - allowed object is
Decisionspublic Expression getExpression()
Constant
FieldRef
NormContinuous
NormDiscrete
Discretize
MapValues
TextIndex
Apply
Aggregatepublic void setExpression(Expression value)
value - allowed object is
Constant
FieldRef
NormContinuous
NormDiscrete
Discretize
MapValues
TextIndex
Apply
Aggregatepublic FieldName getName()
public void setName(FieldName value)
public String getDisplayName()
getDisplayName in class FieldStringpublic void setDisplayName(String value)
setDisplayName in class Fieldvalue - allowed object is
Stringpublic OpType getOptype()
public void setOptype(OpType value)
public DataType getDataType()
getDataType in class FieldDataTypepublic void setDataType(DataType value)
setDataType in class Fieldvalue - allowed object is
DataTypepublic FieldName getTargetField()
Stringpublic void setTargetField(FieldName value)
value - allowed object is
Stringpublic ResultFeatureType getFeature()
ResultFeatureTypepublic void setFeature(ResultFeatureType value)
value - allowed object is
ResultFeatureTypepublic String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic RuleFeatureType getRuleFeature()
RuleFeatureTypepublic void setRuleFeature(RuleFeatureType value)
value - allowed object is
RuleFeatureTypepublic OutputField.Algorithm getAlgorithm()
OutputField.Algorithmpublic void setAlgorithm(OutputField.Algorithm value)
value - allowed object is
OutputField.Algorithmpublic int getRank()
Stringpublic void setRank(Integer value)
value - allowed object is
Stringpublic OutputField.RankBasis getRankBasis()
OutputField.RankBasispublic void setRankBasis(OutputField.RankBasis value)
value - allowed object is
OutputField.RankBasispublic OutputField.RankOrder getRankOrder()
OutputField.RankOrderpublic void setRankOrder(OutputField.RankOrder value)
value - allowed object is
OutputField.RankOrderpublic String getIsMultiValued()
Stringpublic void setIsMultiValued(String value)
value - allowed object is
Stringpublic String getSegmentId()
Stringpublic void setSegmentId(String value)
value - allowed object is
Stringpublic OutputField withExtensions(Extension... values)
public OutputField withExtensions(Collection<Extension> values)
public OutputField withDecisions(Decisions value)
public OutputField withExpression(Expression value)
public OutputField withName(FieldName value)
public OutputField withDisplayName(String value)
public OutputField withOptype(OpType value)
public OutputField withDataType(DataType value)
public OutputField withTargetField(FieldName value)
public OutputField withFeature(ResultFeatureType value)
public OutputField withValue(String value)
public OutputField withRuleFeature(RuleFeatureType value)
public OutputField withAlgorithm(OutputField.Algorithm value)
public OutputField withRank(Integer value)
public OutputField withRankBasis(OutputField.RankBasis value)
public OutputField withRankOrder(OutputField.RankOrder value)
public OutputField withIsMultiValued(String value)
public OutputField withSegmentId(String 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.