public class DataTypeDoublePrimitive extends Object implements IDataType
IDataType.DataTypes| Constructor and Description |
|---|
DataTypeDoublePrimitive() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CanSuggestDataTypeClass()
Always returns true
|
void |
FromXML(Element XML)
Parses the xml serialization of the data type as retrieved by
IDataType.ToXML() |
void |
FromXML(String XML)
Parses the xml serialization of the data type as retrieved by
IDataType.ToXML() |
Class<?> |
GetDataTypeClass()
Returns
double#class |
IDataType.DataTypes |
GetDataTypeEnum()
|
String |
GetStringValue()
Retrieves the value as a string
|
Object |
GetValue()
Retrieves the value of the type
|
void |
SetStringValue(String val)
If the supplied value is null or an empty string, an exception is thrown.
|
void |
SetValue(Object Value)
Sets the provided payload using
DataTypeUtils.GetValueAsDouble(Object)
if the value is non null |
String |
ToXML()
Creates an xml serialization of the data type
|
public boolean CanSuggestDataTypeClass()
CanSuggestDataTypeClass in interface IDataTypeIDataType.CanSuggestDataTypeClass()public Class<?> GetDataTypeClass()
double#classGetDataTypeClass in interface IDataTypeIDataType.GetDataTypeClass()public IDataType.DataTypes GetDataTypeEnum()
GetDataTypeEnum in interface IDataTypeIDataType.GetDataTypeEnum()public String GetStringValue() throws ExecutionSerializationException
IDataTypeGetStringValue in interface IDataTypeExecutionSerializationException - A serialization error occurredpublic Object GetValue()
IDataTypepublic void SetStringValue(String val) throws ExecutionValidationException, ExecutionSerializationException
IDataType.SetValue(Object)SetStringValue in interface IDataTypeval - the value to setExecutionValidationException - A validation error occurredExecutionSerializationException - A serialization error occurredIDataType.SetStringValue(java.lang.String)public void SetValue(Object Value) throws ExecutionValidationException
DataTypeUtils.GetValueAsDouble(Object)
if the value is non nullSetValue in interface IDataTypeValue - the value to setExecutionValidationException - A validation error occurredIDataType.SetValue(java.lang.Object)public void FromXML(String XML) throws ExecutionSerializationException
IDataTypeIDataType.ToXML()FromXML in interface IDataTypeXML - the XML serializationExecutionSerializationException - A serialization error occurredpublic void FromXML(Element XML) throws ExecutionSerializationException
IDataTypeIDataType.ToXML()FromXML in interface IDataTypeXML - The root element of the serializationExecutionSerializationException - A validation error occurredpublic String ToXML() throws ExecutionSerializationException
IDataTypeToXML in interface IDataTypeExecutionSerializationException - a serialization error occurredCopyright © 2014. All Rights Reserved.