public class Matrix extends PMMLObject implements com.sun.xml.bind.Locatable
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">
<choice minOccurs="0">
<group ref="{http://www.dmg.org/PMML-4_1}NUM-ARRAY" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_1}MatCell" maxOccurs="unbounded"/>
</choice>
<attribute name="kind" default="any">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="diagonal"/>
<enumeration value="symmetric"/>
<enumeration value="any"/>
</restriction>
</simpleType>
</attribute>
<attribute name="nbRows" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
<attribute name="nbCols" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
<attribute name="diagDefault" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
<attribute name="offDiagDefault" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Matrix.Kind
Java class for null.
|
| Modifier and Type | Field and Description |
|---|---|
protected Double |
diagDefault |
protected Matrix.Kind |
kind |
protected Locator |
locator |
protected List<MatCell> |
matCells |
protected Integer |
nbCols |
protected Integer |
nbRows |
protected List<Array> |
numarrays |
protected Double |
offDiagDefault |
| Constructor and Description |
|---|
Matrix() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getDiagDefault()
Gets the value of the diagDefault property.
|
Matrix.Kind |
getKind()
Gets the value of the kind property.
|
List<MatCell> |
getMatCells()
Gets the value of the matCells property.
|
Integer |
getNbCols()
Gets the value of the nbCols property.
|
Integer |
getNbRows()
Gets the value of the nbRows property.
|
List<Array> |
getNUMARRAYs()
Gets the value of the numarraYs property.
|
Double |
getOffDiagDefault()
Gets the value of the offDiagDefault property.
|
void |
setDiagDefault(Double value)
Sets the value of the diagDefault property.
|
void |
setKind(Matrix.Kind value)
Sets the value of the kind property.
|
void |
setNbCols(Integer value)
Sets the value of the nbCols property.
|
void |
setNbRows(Integer value)
Sets the value of the nbRows property.
|
void |
setOffDiagDefault(Double value)
Sets the value of the offDiagDefault property.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
protected Matrix.Kind kind
protected Integer nbRows
protected Integer nbCols
protected Double diagDefault
protected Double offDiagDefault
protected Locator locator
public List<Array> getNUMARRAYs()
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 numarraYs property.
For example, to add a new item, do as follows:
getNUMARRAYs().add(newItem);
Objects of the following type(s) are allowed in the list
Array
public List<MatCell> getMatCells()
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 matCells property.
For example, to add a new item, do as follows:
getMatCells().add(newItem);
Objects of the following type(s) are allowed in the list
MatCell
public Matrix.Kind getKind()
Matrix.Kindpublic void setKind(Matrix.Kind value)
value - allowed object is
Matrix.Kindpublic Integer getNbRows()
Stringpublic void setNbRows(Integer value)
value - allowed object is
Stringpublic Integer getNbCols()
Stringpublic void setNbCols(Integer value)
value - allowed object is
Stringpublic Double getDiagDefault()
Doublepublic void setDiagDefault(Double value)
value - allowed object is
Doublepublic Double getOffDiagDefault()
Doublepublic void setOffDiagDefault(Double value)
value - allowed object is
Doublepublic Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectCopyright © 2013 University of Tartu. All Rights Reserved.