public class RealSparseArray extends SparseArray implements com.sun.xml.bind.Locatable
Java class for REAL-SparseArray element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="REAL-SparseArray">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_1}Indices" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}REAL-Entries" minOccurs="0"/>
</sequence>
<attribute name="n" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
<attribute name="defaultValue" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" default="0" />
</restriction>
</complexContent>
</complexType>
</element>
| Modifier and Type | Field and Description |
|---|---|
protected Double |
defaultValue |
protected List<Integer> |
indices |
protected Locator |
locator |
protected Integer |
n |
protected List<Double> |
realEntries |
| Constructor and Description |
|---|
RealSparseArray() |
| Modifier and Type | Method and Description |
|---|---|
double |
getDefaultValue()
Gets the value of the defaultValue property.
|
List<Integer> |
getIndices()
Gets the value of the indices property.
|
Integer |
getN()
Gets the value of the n property.
|
List<Double> |
getREALEntries()
Gets the value of the realEntries property.
|
void |
setDefaultValue(Double value)
Sets the value of the defaultValue property.
|
void |
setN(Integer value)
Sets the value of the n property.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
protected Integer n
protected Double defaultValue
protected Locator locator
public List<Integer> getIndices()
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 indices property.
For example, to add a new item, do as follows:
getIndices().add(newItem);
Objects of the following type(s) are allowed in the list
Integer
getIndices in class SparseArraypublic List<Double> getREALEntries()
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 realEntries property.
For example, to add a new item, do as follows:
getREALEntries().add(newItem);
Objects of the following type(s) are allowed in the list
Double
public Integer getN()
getN in class SparseArrayStringpublic void setN(Integer value)
setN in class SparseArrayvalue - allowed object is
Stringpublic double getDefaultValue()
Doublepublic void setDefaultValue(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.