public class DataTypeDoubleClass extends Object implements IDataType
IDataType.DataTypes| Constructor and Description |
|---|
DataTypeDoubleClass() |
| 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
Object.getClass() |
IDataType.DataTypes |
GetDataTypeEnum()
Returns
IDataType.DataTypes.DoubleClass |
String |
GetStringValue()
if the value is null, an empty string is returned.
|
Object |
GetValue()
Retrieves the value of the type
|
void |
SetStringValue(String val)
If the value is null or an empty string, null is set.
|
void |
SetValue(Object Value)
If the provided value is null, then null is set otherwise the value is set
using
DataTypeUtils.GetValueAsDouble(Object) |
String |
ToXML()
Creates an xml serialization of the data type
|
public boolean CanSuggestDataTypeClass()
CanSuggestDataTypeClass in interface IDataTypeIDataType.CanSuggestDataTypeClass()public Class<?> GetDataTypeClass()
Object.getClass()GetDataTypeClass in interface IDataTypeIDataType.GetDataTypeClass()public IDataType.DataTypes GetDataTypeEnum()
IDataType.DataTypes.DoubleClassGetDataTypeEnum in interface IDataTypeIDataType.GetDataTypeEnum()public String GetStringValue() throws ExecutionSerializationException
GetStringValue in interface IDataTypeExecutionSerializationException - A serialization error occurredIDataType.GetStringValue()public Object GetValue()
IDataTypepublic void SetStringValue(String val) throws ExecutionValidationException, ExecutionSerializationException
IDataType.SetValue(Object) is madeSetStringValue 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)SetValue 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.