public class Predictor 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}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Categories" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Matrix" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.dmg.org/PMML-4_2}FIELD-NAME" />
<attribute name="contrastMatrixType" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Categories |
categories |
protected java.lang.String |
contrastMatrixType |
protected java.util.List<Extension> |
extensions |
protected Matrix |
matrix |
protected FieldName |
name |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Categories |
getCategories()
Gets the value of the categories property.
|
java.lang.String |
getContrastMatrixType()
Gets the value of the contrastMatrixType property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
Matrix |
getMatrix()
Gets the value of the matrix property.
|
FieldName |
getName()
Gets the value of the name property.
|
boolean |
hasExtensions() |
void |
setCategories(Categories value)
Sets the value of the categories property.
|
void |
setContrastMatrixType(java.lang.String value)
Sets the value of the contrastMatrixType property.
|
void |
setMatrix(Matrix value)
Sets the value of the matrix property.
|
void |
setName(FieldName value)
Sets the value of the name property.
|
Predictor |
withCategories(Categories value) |
Predictor |
withContrastMatrixType(java.lang.String value) |
Predictor |
withExtensions(java.util.Collection<Extension> values) |
Predictor |
withExtensions(Extension... values) |
Predictor |
withMatrix(Matrix value) |
Predictor |
withName(FieldName value) |
getLocator, setLocatorprotected FieldName name
protected java.lang.String contrastMatrixType
protected java.util.List<Extension> extensions
protected Categories categories
protected Matrix matrix
public Predictor()
public Predictor(FieldName name)
public FieldName getName()
Stringpublic void setName(FieldName value)
value - allowed object is
Stringpublic java.lang.String getContrastMatrixType()
Stringpublic void setContrastMatrixType(java.lang.String value)
value - allowed object is
Stringpublic 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 Categories getCategories()
Categoriespublic void setCategories(Categories value)
value - allowed object is
Categoriespublic Matrix getMatrix()
Matrixpublic void setMatrix(Matrix value)
value - allowed object is
Matrixpublic Predictor withContrastMatrixType(java.lang.String value)
public Predictor withCategories(Categories value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.