public class Array extends PMMLObject
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="n" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="type" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="int"/>
<enumeration value="real"/>
<enumeration value="string"/>
</restriction>
</simpleType>
</attribute>
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Array.Type
Java class for null.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Integer |
n |
protected Array.Type |
type |
protected java.lang.String |
value |
| Constructor and Description |
|---|
Array() |
Array(Array.Type type,
java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.Integer |
getN()
Gets the value of the n property.
|
Array.Type |
getType()
Gets the value of the type property.
|
java.lang.String |
getValue()
Gets the value of the value property.
|
void |
setN(java.lang.Integer value)
Sets the value of the n property.
|
void |
setType(Array.Type value)
Sets the value of the type property.
|
void |
setValue(java.lang.String value)
Sets the value of the value property.
|
Array |
withN(java.lang.Integer value) |
Array |
withType(Array.Type value) |
Array |
withValue(java.lang.String value) |
getLocator, setLocatorprotected java.lang.Integer n
protected Array.Type type
protected java.lang.String value
public Array()
public Array(Array.Type type, java.lang.String value)
public java.lang.Integer getN()
Stringpublic void setN(java.lang.Integer value)
value - allowed object is
Stringpublic Array.Type getType()
Array.Typepublic void setType(Array.Type value)
value - allowed object is
Array.Typepublic java.lang.String getValue()
Stringpublic void setValue(java.lang.String value)
value - allowed object is
Stringpublic Array withN(java.lang.Integer value)
public Array withType(Array.Type value)
public Array withValue(java.lang.String value)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.