|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.execution.datatype.DataTypeBooleanClass
public class DataTypeBooleanClass
This class represents data type with a boolean object payload
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface gr.uoa.di.madgik.execution.datatype.IDataType |
|---|
IDataType.DataTypes |
| Constructor Summary | |
|---|---|
DataTypeBooleanClass()
|
|
| Method Summary | |
|---|---|
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 Object.getClass() |
IDataType.DataTypes |
GetDataTypeEnum()
Returns IDataType.DataTypes.BooleanClass |
String |
GetStringValue()
if the value is null, an empty string is returned. |
Object |
GetValue()
Retrieves the value of the type |
void |
SetStringValue(String val)
If the value is null or an empty string, null is set. |
void |
SetValue(Object Value)
If the provided value is null, then null is set otherwise the value is set using DataTypeUtils.GetValueAsBoolean(Object) |
String |
ToXML()
Creates an xml serialization of the data type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataTypeBooleanClass()
| Method Detail |
|---|
public boolean CanSuggestDataTypeClass()
CanSuggestDataTypeClass in interface IDataTypeIDataType.CanSuggestDataTypeClass()public Class<?> GetDataTypeClass()
Object.getClass()
GetDataTypeClass in interface IDataTypeIDataType.GetDataTypeClass()public IDataType.DataTypes GetDataTypeEnum()
IDataType.DataTypes.BooleanClass
GetDataTypeEnum in interface IDataTypeIDataType.GetDataTypeEnum()
public String GetStringValue()
throws ExecutionSerializationException
GetStringValue in interface IDataTypeExecutionSerializationException - A serialization error occurredIDataType.GetStringValue()public Object GetValue()
IDataType
GetValue in interface IDataType
public void SetStringValue(String val)
throws ExecutionValidationException,
ExecutionSerializationException
IDataType.SetValue(Object) is made
SetStringValue in interface IDataTypeval - the value to set
ExecutionValidationException - A validation error occurred
ExecutionSerializationException - A serialization error occurredIDataType.SetStringValue(java.lang.String)
public void SetValue(Object Value)
throws ExecutionValidationException
DataTypeUtils.GetValueAsBoolean(Object)
SetValue in interface IDataTypeValue - the value to set
ExecutionValidationException - A validation error occurredIDataType.SetValue(java.lang.Object)
public void FromXML(String XML)
throws ExecutionSerializationException
IDataTypeIDataType.ToXML()
FromXML in interface IDataTypeXML - the XML serialization
ExecutionSerializationException - A serialization error occurred
public void FromXML(Element XML)
throws ExecutionSerializationException
IDataTypeIDataType.ToXML()
FromXML in interface IDataTypeXML - The root element of the serialization
ExecutionSerializationException - A validation error occurred
public String ToXML()
throws ExecutionSerializationException
IDataType
ToXML in interface IDataTypeExecutionSerializationException - a serialization error occurred
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||