gr.uoa.di.madgik.execution.datatype
Class ReflectableItem

java.lang.Object
  extended by gr.uoa.di.madgik.execution.datatype.ReflectableItem
All Implemented Interfaces:
Serializable

public class ReflectableItem
extends Object
implements Serializable

This class acts as a named container of IDataTypes that are items contained in an DataTypeReflectable

See Also:
Serialized Form

Field Summary
 String Name
          The Name of the item.
 String Token
          The Token of the item.
 IDataType Value
          The Value of the item.
 
Constructor Summary
ReflectableItem()
           
 
Method Summary
 void FromXML(Element element)
          Parses the provided serialization as returned by ToXML() and populates the instance
 String ToXML()
          Serializes this reflectable item to an XML serialization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Name

public String Name
The Name of the item.


Token

public String Token
The Token of the item.


Value

public IDataType Value
The Value of the item.

Constructor Detail

ReflectableItem

public ReflectableItem()
Method Detail

ToXML

public String ToXML()
             throws ExecutionSerializationException
Serializes this reflectable item to an XML serialization

Returns:
the xml serialization
Throws:
ExecutionSerializationException - A serialization error occurred

FromXML

public void FromXML(Element element)
             throws ExecutionSerializationException
Parses the provided serialization as returned by ToXML() and populates the instance

Parameters:
element - the root element of the serialization
Throws:
ExecutionSerializationException - a serialization error occurred


Copyright © 2013. All Rights Reserved.