public class TimeValue 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">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_1}Timestamp" minOccurs="0"/>
</sequence>
<attribute name="index" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
<attribute name="time" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
<attribute name="value" use="required" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
<attribute name="standardError" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
index |
protected Locator |
locator |
protected Double |
standardError |
protected Double |
time |
protected Timestamp |
timestamp |
protected double |
value |
| Constructor and Description |
|---|
TimeValue()
Deprecated.
|
TimeValue(double value) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Integer |
getIndex()
Gets the value of the index property.
|
Double |
getStandardError()
Gets the value of the standardError property.
|
Double |
getTime()
Gets the value of the time property.
|
Timestamp |
getTimestamp()
Gets the value of the timestamp property.
|
double |
getValue()
Gets the value of the value property.
|
void |
setIndex(Integer value)
Sets the value of the index property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setStandardError(Double value)
Sets the value of the standardError property.
|
void |
setTime(Double value)
Sets the value of the time property.
|
void |
setTimestamp(Timestamp value)
Sets the value of the timestamp property.
|
void |
setValue(double value)
Sets the value of the value property.
|
Locator |
sourceLocation() |
TimeValue |
withIndex(Integer value) |
TimeValue |
withStandardError(Double value) |
TimeValue |
withTime(Double value) |
TimeValue |
withTimestamp(Timestamp value) |
TimeValue |
withValue(double value) |
protected Timestamp timestamp
protected Integer index
protected Double time
protected double value
protected Double standardError
protected Locator locator
@Deprecated public TimeValue()
public TimeValue(double value)
public Timestamp getTimestamp()
Timestamppublic void setTimestamp(Timestamp value)
value - allowed object is
Timestamppublic Integer getIndex()
Stringpublic void setIndex(Integer value)
value - allowed object is
Stringpublic Double getTime()
Doublepublic void setTime(Double value)
value - allowed object is
Doublepublic double getValue()
public void setValue(double value)
public Double getStandardError()
Doublepublic void setStandardError(Double value)
value - allowed object is
Doublepublic TimeValue withValue(double value)
public 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.