public class GeoTraceData extends Object implements IAnswerData, IExprDataType
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoTraceData.GeoTrace
The data value contained in a GeoTraceData object is a GeoTrace
|
| Modifier and Type | Field and Description |
|---|---|
ArrayList<GeoPointData> |
points |
| Constructor and Description |
|---|
GeoTraceData()
Empty Constructor, necessary for dynamic construction during
deserialization.
|
GeoTraceData(GeoTraceData.GeoTrace atrace) |
GeoTraceData(GeoTraceData data)
Copy constructor (deep)
|
| Modifier and Type | Method and Description |
|---|---|
GeoTraceData |
cast(UncastData data)
Casts the provided data into this data type.
|
IAnswerData |
clone() |
String |
getDisplayText() |
Object |
getValue() |
void |
readExternal(DataInputStream in,
PrototypeFactory pf) |
void |
setValue(Object o) |
Boolean |
toBoolean() |
Double |
toNumeric() |
String |
toString() |
UncastData |
uncast()
Data types can be uncast if they are expected to be used
in different contexts.
|
void |
writeExternal(DataOutputStream out) |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitwrapDatapublic final ArrayList<GeoPointData> points
public GeoTraceData()
public GeoTraceData(GeoTraceData data)
data - public GeoTraceData(GeoTraceData.GeoTrace atrace)
public IAnswerData clone()
clone in interface IAnswerDataclone in class Objectpublic String getDisplayText()
getDisplayText in interface IAnswerDatapublic Object getValue()
getValue in interface IAnswerDatapublic void setValue(Object o)
setValue in interface IAnswerDatao - the value of this answerdata object. Cannot be null.
Null Data will not overwrite existing values.public void readExternal(DataInputStream in, PrototypeFactory pf) throws IOException
readExternal in interface ExternalizableIOExceptionpublic void writeExternal(DataOutputStream out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic UncastData uncast()
IAnswerDatauncast in interface IAnswerDatapublic GeoTraceData cast(UncastData data) throws IllegalArgumentException
IAnswerDatacast in interface IAnswerDatadata - An uncast data value which is compatible
with this data typeIllegalArgumentException - If the uncast data is
not in a compatible formatpublic Boolean toBoolean()
toBoolean in interface IExprDataTypepublic Double toNumeric()
toNumeric in interface IExprDataTypepublic String toString()
toString in interface IExprDataTypetoString in class ObjectCopyright © 2021. All rights reserved.