public class Constant extends Expression 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>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="dataType" type="{http://www.dmg.org/PMML-4_1}DATATYPE" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DataType |
dataType |
protected Locator |
locator |
protected String |
value |
| Constructor and Description |
|---|
Constant()
Deprecated.
|
Constant(String value) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
DataType |
getDataType()
Gets the value of the dataType property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setDataType(DataType value)
Sets the value of the dataType property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setValue(String value)
Sets the value of the value property.
|
Locator |
sourceLocation() |
Constant |
withDataType(DataType value) |
Constant |
withValue(String value) |
protected String value
protected DataType dataType
protected Locator locator
@Deprecated public Constant()
public Constant(String value)
public String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic DataType getDataType()
DataTypepublic void setDataType(DataType value)
value - allowed object is
DataTypepublic 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 © 2014 University of Tartu. All Rights Reserved.