public class PMML extends PMMLObject 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}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 List<Extension> |
extensions |
protected Header |
header |
protected Locator |
locator |
protected MiningBuildTask |
miningBuildTask |
protected List<Model> |
models |
protected TransformationDictionary |
transformationDictionary |
protected String |
version |
| Constructor and Description |
|---|
PMML() |
PMML(Header header,
DataDictionary dataDictionary,
String version) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
DataDictionary |
getDataDictionary()
Gets the value of the dataDictionary property.
|
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.
|
List<Model> |
getModels()
Gets the value of the models property.
|
TransformationDictionary |
getTransformationDictionary()
Gets the value of the transformationDictionary property.
|
String |
getVersion()
Gets the value of the version property.
|
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 |
setSourceLocation(Locator newLocator) |
void |
setTransformationDictionary(TransformationDictionary value)
Sets the value of the transformationDictionary property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
Locator |
sourceLocation() |
PMML |
withDataDictionary(DataDictionary value) |
PMML |
withExtensions(Collection<Extension> values) |
PMML |
withExtensions(Extension... values) |
PMML |
withHeader(Header value) |
PMML |
withMiningBuildTask(MiningBuildTask value) |
PMML |
withModels(Collection<Model> values) |
PMML |
withModels(Model... values) |
PMML |
withTransformationDictionary(TransformationDictionary value) |
PMML |
withVersion(String value) |
protected Header header
protected MiningBuildTask miningBuildTask
protected DataDictionary dataDictionary
protected TransformationDictionary transformationDictionary
protected String version
protected Locator locator
public PMML()
public PMML(Header header, DataDictionary dataDictionary, String version)
public 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 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 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 String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic PMML withMiningBuildTask(MiningBuildTask value)
public PMML withDataDictionary(DataDictionary value)
public PMML withTransformationDictionary(TransformationDictionary value)
public PMML withModels(Collection<Model> values)
public PMML withExtensions(Collection<Extension> values)
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.