|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.execution.datatype.NamedDataType
public class NamedDataType
This class acts as a named container of IDataTypes and is the key
class involved in variable definition of an ExecutionPlan and the
corresponding VariableCollection of the plan
| Field Summary | |
|---|---|
Boolean |
IsAvailable
Whether the value for this type is available. |
String |
Name
The Name of the type. |
String |
Token
The Token of the type. |
IDataType |
Value
The actual type. |
| Constructor Summary | |
|---|---|
NamedDataType()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Checks if the two instances are equal. |
void |
FromXML(Element XML)
Parses the provided serialization as returned by ToXML() |
void |
FromXML(String XML)
Parses the provided serialization as returned by ToXML() |
int |
hashCode()
|
String |
ToXML()
Creates an XML serialization of the named data type |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String Name
public String Token
public Boolean IsAvailable
public IDataType Value
| Constructor Detail |
|---|
public NamedDataType()
| Method Detail |
|---|
public String ToXML()
throws ExecutionSerializationException
ExecutionSerializationException - A serialization error occurred
public void FromXML(String XML)
throws ExecutionSerializationException
ToXML()
XML - The XML serialization to parse
ExecutionSerializationException - A serialization error occurred
public void FromXML(Element XML)
throws ExecutionSerializationException
ToXML()
XML - the root element of the serialization
ExecutionSerializationException - A serialization error occurredpublic boolean equals(Object o)
NamedDataType, the Name is equal,
the Token is equal, the IsAvailable is the
same and the IDataType#equals(Object) also evaluates to true.
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||