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>
| Constructor and Description |
|---|
PMML() |
PMML(String version,
Header header,
DataDictionary dataDictionary) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
PMML |
addExtensions(Extension... extensions) |
PMML |
addModels(Model... models) |
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.
|
boolean |
hasExtensions() |
boolean |
hasModels() |
PMML |
setDataDictionary(DataDictionary dataDictionary)
Sets the value of the dataDictionary property.
|
PMML |
setHeader(Header header)
Sets the value of the header property.
|
PMML |
setMiningBuildTask(MiningBuildTask miningBuildTask)
Sets the value of the miningBuildTask property.
|
PMML |
setTransformationDictionary(TransformationDictionary transformationDictionary)
Sets the value of the transformationDictionary property.
|
PMML |
setVersion(String version)
Sets the value of the version property.
|
getLocator, setLocatorpublic PMML()
public PMML(String version, Header header, DataDictionary dataDictionary)
public String getVersion()
Stringpublic PMML setVersion(String version)
version - allowed object is
Stringpublic Header getHeader()
Headerpublic PMML setHeader(Header header)
header - allowed object is
Headerpublic MiningBuildTask getMiningBuildTask()
MiningBuildTaskpublic PMML setMiningBuildTask(MiningBuildTask miningBuildTask)
miningBuildTask - allowed object is
MiningBuildTaskpublic DataDictionary getDataDictionary()
DataDictionarypublic PMML setDataDictionary(DataDictionary dataDictionary)
dataDictionary - allowed object is
DataDictionarypublic TransformationDictionary getTransformationDictionary()
TransformationDictionarypublic PMML setTransformationDictionary(TransformationDictionary transformationDictionary)
transformationDictionary - 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 boolean hasModels()
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.