public class OutputField 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 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.
|
| Constructor and Description |
|---|
OutputField() |
OutputField(FieldName name) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
OutputField |
addExtensions(Extension... extensions) |
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.
|
boolean |
hasExtensions() |
OutputField |
setAlgorithm(OutputField.Algorithm algorithm)
Sets the value of the algorithm property.
|
OutputField |
setDataType(DataType dataType)
Sets the value of the dataType property.
|
OutputField |
setDecisions(Decisions decisions)
Sets the value of the decisions property.
|
OutputField |
setDisplayName(String displayName)
Sets the value of the displayName property.
|
OutputField |
setExpression(Expression expression)
Sets the value of the expression property.
|
OutputField |
setFeature(ResultFeatureType feature)
Sets the value of the feature property.
|
OutputField |
setIsMultiValued(String isMultiValued)
Sets the value of the isMultiValued property.
|
OutputField |
setName(FieldName name)
Sets the value of the name property.
|
OutputField |
setOpType(OpType opType)
Sets the value of the opType property.
|
OutputField |
setRank(Integer rank)
Sets the value of the rank property.
|
OutputField |
setRankBasis(OutputField.RankBasis rankBasis)
Sets the value of the rankBasis property.
|
OutputField |
setRankOrder(OutputField.RankOrder rankOrder)
Sets the value of the rankOrder property.
|
OutputField |
setRuleFeature(RuleFeatureType ruleFeature)
Sets the value of the ruleFeature property.
|
OutputField |
setSegmentId(String segmentId)
Sets the value of the segmentId property.
|
OutputField |
setTargetField(FieldName targetField)
Sets the value of the targetField property.
|
OutputField |
setValue(String value)
Sets the value of the value property.
|
getLocator, setLocatorpublic OutputField()
public OutputField(FieldName name)
public FieldName getName()
public OutputField setName(FieldName name)
public String getDisplayName()
getDisplayName in class FieldStringpublic OutputField setDisplayName(String displayName)
setDisplayName in class FielddisplayName - allowed object is
Stringpublic OpType getOpType()
public OutputField setOpType(OpType opType)
public DataType getDataType()
getDataType in class FieldDataTypepublic OutputField setDataType(DataType dataType)
setDataType in class FielddataType - allowed object is
DataTypepublic FieldName getTargetField()
Stringpublic OutputField setTargetField(FieldName targetField)
targetField - allowed object is
Stringpublic ResultFeatureType getFeature()
ResultFeatureTypepublic OutputField setFeature(ResultFeatureType feature)
feature - allowed object is
ResultFeatureTypepublic String getValue()
Stringpublic OutputField setValue(String value)
value - allowed object is
Stringpublic RuleFeatureType getRuleFeature()
RuleFeatureTypepublic OutputField setRuleFeature(RuleFeatureType ruleFeature)
ruleFeature - allowed object is
RuleFeatureTypepublic OutputField.Algorithm getAlgorithm()
OutputField.Algorithmpublic OutputField setAlgorithm(OutputField.Algorithm algorithm)
algorithm - allowed object is
OutputField.Algorithmpublic int getRank()
Stringpublic OutputField setRank(Integer rank)
rank - allowed object is
Stringpublic OutputField.RankBasis getRankBasis()
OutputField.RankBasispublic OutputField setRankBasis(OutputField.RankBasis rankBasis)
rankBasis - allowed object is
OutputField.RankBasispublic OutputField.RankOrder getRankOrder()
OutputField.RankOrderpublic OutputField setRankOrder(OutputField.RankOrder rankOrder)
rankOrder - allowed object is
OutputField.RankOrderpublic String getIsMultiValued()
Stringpublic OutputField setIsMultiValued(String isMultiValued)
isMultiValued - allowed object is
Stringpublic String getSegmentId()
Stringpublic OutputField setSegmentId(String segmentId)
segmentId - allowed object is
Stringpublic 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 OutputField setDecisions(Decisions decisions)
decisions - allowed object is
Decisionspublic Expression getExpression()
Constant
FieldRef
NormContinuous
NormDiscrete
Discretize
MapValues
TextIndex
Apply
Aggregatepublic OutputField setExpression(Expression expression)
expression - allowed object is
Constant
FieldRef
NormContinuous
NormDiscrete
Discretize
MapValues
TextIndex
Apply
Aggregatepublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic OutputField addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.