public class PMML extends PMMLObject 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}Header"/>
<element ref="{http://www.dmg.org/PMML-4_2}MiningBuildTask" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}DataDictionary"/>
<element ref="{http://www.dmg.org/PMML-4_2}TransformationDictionary" minOccurs="0"/>
<sequence maxOccurs="unbounded" minOccurs="0">
<group ref="{http://www.dmg.org/PMML-4_2}MODEL-ELEMENT"/>
</sequence>
<element ref="{http://www.dmg.org/PMML-4_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DataDictionary |
dataDictionary |
protected java.util.List<Extension> |
extensions |
protected Header |
header |
protected MiningBuildTask |
miningBuildTask |
protected java.util.List<Model> |
models |
protected TransformationDictionary |
transformationDictionary |
protected java.lang.String |
version |
| Constructor and Description |
|---|
PMML() |
PMML(java.lang.String version,
Header header,
DataDictionary dataDictionary) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
DataDictionary |
getDataDictionary()
Gets the value of the dataDictionary property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
Header |
getHeader()
Gets the value of the header property.
|
MiningBuildTask |
getMiningBuildTask()
Gets the value of the miningBuildTask property.
|
java.util.List<Model> |
getModels()
Gets the value of the models property.
|
TransformationDictionary |
getTransformationDictionary()
Gets the value of the transformationDictionary property.
|
java.lang.String |
getVersion()
Gets the value of the version property.
|
boolean |
hasExtensions() |
boolean |
hasModels() |
void |
setDataDictionary(DataDictionary value)
Sets the value of the dataDictionary property.
|
void |
setHeader(Header value)
Sets the value of the header property.
|
void |
setMiningBuildTask(MiningBuildTask value)
Sets the value of the miningBuildTask property.
|
void |
setTransformationDictionary(TransformationDictionary value)
Sets the value of the transformationDictionary property.
|
void |
setVersion(java.lang.String value)
Sets the value of the version property.
|
PMML |
withDataDictionary(DataDictionary value) |
PMML |
withExtensions(java.util.Collection<Extension> values) |
PMML |
withExtensions(Extension... values) |
PMML |
withHeader(Header value) |
PMML |
withMiningBuildTask(MiningBuildTask value) |
PMML |
withModels(java.util.Collection<Model> values) |
PMML |
withModels(Model... values) |
PMML |
withTransformationDictionary(TransformationDictionary value) |
PMML |
withVersion(java.lang.String value) |
getLocator, setLocatorprotected java.lang.String version
protected Header header
protected MiningBuildTask miningBuildTask
protected DataDictionary dataDictionary
protected TransformationDictionary transformationDictionary
protected java.util.List<Model> models
protected java.util.List<Extension> extensions
public PMML()
public PMML(java.lang.String version,
Header header,
DataDictionary dataDictionary)
public java.lang.String getVersion()
Stringpublic void setVersion(java.lang.String value)
value - allowed object is
Stringpublic Header getHeader()
Headerpublic void setHeader(Header value)
value - allowed object is
Headerpublic MiningBuildTask getMiningBuildTask()
MiningBuildTaskpublic void setMiningBuildTask(MiningBuildTask value)
value - allowed object is
MiningBuildTaskpublic DataDictionary getDataDictionary()
DataDictionarypublic void setDataDictionary(DataDictionary value)
value - allowed object is
DataDictionarypublic TransformationDictionary getTransformationDictionary()
TransformationDictionarypublic void setTransformationDictionary(TransformationDictionary value)
value - allowed object is
TransformationDictionarypublic java.util.List<Model> getModels()
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 models property.
For example, to add a new item, do as follows:
getModels().add(newItem);
Objects of the following type(s) are allowed in the list
AssociationModel
BaselineModel
ClusteringModel
GeneralRegressionModel
MiningModel
NaiveBayesModel
NearestNeighborModel
NeuralNetwork
RegressionModel
RuleSetModel
SequenceModel
Scorecard
SupportVectorMachineModel
TextModel
TimeSeriesModel
TreeModel
public java.util.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 PMML withVersion(java.lang.String value)
public PMML withMiningBuildTask(MiningBuildTask value)
public PMML withDataDictionary(DataDictionary value)
public PMML withTransformationDictionary(TransformationDictionary value)
public boolean hasModels()
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.