public interface IDataType extends Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
IDataType.DataTypes
The known DataTypes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CanSuggestDataTypeClass()
Retrieves if the implementation of the data type can suggest
the run time type of the hosted value
|
void |
FromXML(Element XML)
Parses the xml serialization of the data type as retrieved by
ToXML() |
void |
FromXML(String XML)
Parses the xml serialization of the data type as retrieved by
ToXML() |
Class<?> |
GetDataTypeClass()
Retrieves the run time type of the data type's value
if
CanSuggestDataTypeClass() indicates that
the data type can suggest a type |
IDataType.DataTypes |
GetDataTypeEnum()
Retrieves the known data type of the type
|
String |
GetStringValue()
Retrieves the value as a string
|
Object |
GetValue()
Retrieves the value of the type
|
void |
SetStringValue(String val)
Sets the value as a string representation
|
void |
SetValue(Object Value)
Sets the value of this type
|
String |
ToXML()
Creates an xml serialization of the data type
|
void SetValue(Object Value) throws ExecutionValidationException
Value - the value to setExecutionValidationException - A validation error occurredObject GetValue()
void SetStringValue(String val) throws ExecutionValidationException, ExecutionSerializationException
val - the value to setExecutionValidationException - A validation error occurredExecutionSerializationException - A serialization error occurredString GetStringValue() throws ExecutionSerializationException
ExecutionSerializationException - A serialization error occurredvoid FromXML(String XML) throws ExecutionSerializationException
ToXML()XML - the XML serializationExecutionSerializationException - A serialization error occurredvoid FromXML(Element XML) throws ExecutionSerializationException
ToXML()XML - The root element of the serializationExecutionSerializationException - A validation error occurredString ToXML() throws ExecutionSerializationException
ExecutionSerializationException - a serialization error occurredboolean CanSuggestDataTypeClass()
Class<?> GetDataTypeClass()
CanSuggestDataTypeClass() indicates that
the data type can suggest a typeIDataType.DataTypes GetDataTypeEnum()
Copyright © 2014. All Rights Reserved.