public class DataTypeReflectable extends Object implements IDataType, Iterable<ReflectableItem>
ReflectableItem payloadIDataType.DataTypes| Constructor and Description |
|---|
DataTypeReflectable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CanSuggestDataTypeClass()
Always returns false
|
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 null
|
IDataType.DataTypes |
GetDataTypeEnum()
Returns
IDataType.DataTypes.Reflectable |
ReflectableItem[] |
GetItems()
Retrieves the
ReflectableItems that make up this instance |
String |
GetStringValue()
Returns
ToXML() |
Object |
GetValue()
Returns this instance
|
Iterator<ReflectableItem> |
iterator() |
void |
SetStringValue(String val)
Calls
DataTypeReflectable#FromXML(String)) |
void |
SetValue(Object Value)
If the provided value is null, the collection of
ReflectableItem is also set to null. |
String |
ToXML()
Creates an xml serialization of the data type
|
public Iterator<ReflectableItem> iterator()
iterator in interface Iterable<ReflectableItem>public boolean CanSuggestDataTypeClass()
CanSuggestDataTypeClass in interface IDataTypeIDataType.CanSuggestDataTypeClass()public Class<?> GetDataTypeClass()
GetDataTypeClass in interface IDataTypeIDataType.GetDataTypeClass()public IDataType.DataTypes GetDataTypeEnum()
IDataType.DataTypes.ReflectableGetDataTypeEnum in interface IDataTypeIDataType.GetDataTypeEnum()public String GetStringValue() throws ExecutionSerializationException
ToXML()GetStringValue in interface IDataTypeExecutionSerializationException - A serialization error occurredIDataType.GetStringValue()public void SetStringValue(String val) throws ExecutionValidationException, ExecutionSerializationException
DataTypeReflectable#FromXML(String))SetStringValue in interface IDataTypeval - the value to setExecutionValidationException - A validation error occurredExecutionSerializationException - A serialization error occurredIDataType.SetStringValue(java.lang.String)public Object GetValue()
GetValue in interface IDataTypeIDataType.GetValue()public ReflectableItem[] GetItems()
ReflectableItems that make up this instancepublic void SetValue(Object Value) throws ExecutionValidationException
ReflectableItem is also set to null.
Otherwise, if the provided value is an array of ReflectableItem, the internal collection
is set to the provided array. If the provided value is a DataTypeReflectable, the internal
collection is set to the internal collection of the provided DataTypeReflectable. Otherwise,
if the provided value is a string, the DataTypeReflectable#FromXML(String)) is
called. Otherwise, an instance of a ReflectableAnalyzer is created, and the produced
DataTypeReflectable retrieved by ReflectableAnalyzer.ProduceReflectable(Object)
is used.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.