public class DataTypeResultSet extends Object implements IDataType
URI proxy locator payloadIDataType.DataTypes| Constructor and Description |
|---|
DataTypeResultSet() |
| 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
IProxyLocator#class |
IDataType.DataTypes |
GetDataTypeEnum()
Returns
IDataType.DataTypes.ResultSet |
String |
GetStringValue()
Returns
IProxyLocator#ToXML() or an empty string if the value is null |
Object |
GetValue()
Returns the actual payload
|
void |
SetStringValue(String val)
If the supplied value is null or an empty string, null is set as the payload.
|
void |
SetValue(Object Value)
Sets the provided payload using
DataTypeUtils.GetValueAsProxyLocator(Object)
if the the provided value is not null and is either a String or an instance of
a IProxyLocator. |
String |
ToXML()
The payload of the data type is stored using
IProxyLocator#ToXML()
after escaping special characters using
XMLUtils.DoReplaceSpecialCharachters(String) |
public boolean CanSuggestDataTypeClass()
CanSuggestDataTypeClass in interface IDataTypeIDataType.CanSuggestDataTypeClass()public Class<?> GetDataTypeClass()
IProxyLocator#classGetDataTypeClass in interface IDataTypeIDataType.GetDataTypeClass()public IDataType.DataTypes GetDataTypeEnum()
IDataType.DataTypes.ResultSetGetDataTypeEnum in interface IDataTypeIDataType.GetDataTypeEnum()public String GetStringValue() throws ExecutionSerializationException
IProxyLocator#ToXML() or an empty string if the value is nullGetStringValue in interface IDataTypeExecutionSerializationException - A serialization error occurredIDataType.GetStringValue()public Object GetValue()
GetValue in interface IDataTypeIDataType.GetValue()public void SetStringValue(String val) throws ExecutionValidationException, ExecutionSerializationException
DataTypeUtils.GetValueAsProxyLocator(Object) is usedSetStringValue 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.GetValueAsProxyLocator(Object)
if the the provided value is not null and is either a String or an instance of
a IProxyLocator. If the value is null, then null is set for the valueSetValue 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
IProxyLocator#ToXML()
after escaping special characters using
XMLUtils.DoReplaceSpecialCharachters(String)ToXML in interface IDataTypeExecutionSerializationException - a serialization error occurredIDataType.ToXML()Copyright © 2015. All Rights Reserved.