public class IntSparseArray extends SparseArray implements com.sun.xml.bind.Locatable
Java class for INT-SparseArray element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="INT-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}INT-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}INT-NUMBER" default="0" />
</restriction>
</complexContent>
</complexType>
</element>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
defaultValue |
protected List<Integer> |
entries |
protected List<Integer> |
indices |
protected Locator |
locator |
protected Integer |
n |
| Constructor and Description |
|---|
IntSparseArray() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
int |
getDefaultValue()
Gets the value of the defaultValue property.
|
List<Integer> |
getEntries()
Gets the value of the entries property.
|
List<Integer> |
getIndices()
Gets the value of the indices property.
|
Integer |
getN()
Gets the value of the n property.
|
void |
setDefaultValue(Integer 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() |
getContent, setContentprotected Integer n
protected Integer 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<Integer> getEntries()
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 entries property.
For example, to add a new item, do as follows:
getEntries().add(newItem);
Objects of the following type(s) are allowed in the list
Integer
getEntries in class SparseArraypublic Integer getN()
getN in class SparseArrayStringpublic void setN(Integer value)
setN in class SparseArrayvalue - allowed object is
Stringpublic int getDefaultValue()
Stringpublic void setDefaultValue(Integer value)
value - allowed object is
Stringpublic 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 © 2013 University of Tartu. All Rights Reserved.