Skip to main content
Version: 3.5

IDataObject

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides a format-independent mechanism for transferring data.

public interface IDataObject

Methods

Instance memberGetData(format, autoConvert)

Retrieves the data associated with the specified data format, using autoConvert to determine whether to convert the data to the format.

ParameterTypeDescription
formatString
autoConvertBoolean

Returns: Object.

Instance memberGetData(format)

Retrieves the data associated with the specified data format.

ParameterTypeDescription
formatString

Returns: Object.

Instance memberGetData(format)

Retrieves the data associated with the specified class type format.

ParameterTypeDescription
formatType

Returns: Object.

Instance memberGetDataPresent(format, autoConvert)

Determines whether data stored in this instance is associated with the specified format, using autoConvert to determine whether to convert the data to the format.

ParameterTypeDescription
formatString
autoConvertBoolean

Returns: Boolean.

Instance memberGetDataPresent(format)

Determines whether data stored in this instance is associated with, or can be converted to, the specified format.

ParameterTypeDescription
formatString

Returns: Boolean.

Instance memberGetDataPresent(format)

Determines whether data stored in this instance is associated with, or can be converted to, the specified format.

ParameterTypeDescription
formatType

Returns: Boolean.

Instance memberGetFormats(autoConvert)

Gets a list of all formats that data stored in this instance is associated with or can be converted to, using autoConvert to determine whether to retrieve all formats that the data can be converted to or' only native data formats.

ParameterTypeDescription
autoConvertBoolean

Returns: String[].

Instance memberGetFormats()

Gets a list of all formats that data stored in this instance is associated with or can be converted to.

Returns: String[].

Instance memberSetData(format, autoConvert, data)

Stores the specified data and its associated format in this instance, using autoConvert to specify whether the data can be converted to another format.

ParameterTypeDescription
formatString
autoConvertBoolean
dataObject

Instance memberSetData(format, data)

Stores the specified data and its associated format in this instance.

ParameterTypeDescription
formatString
dataObject

Instance memberSetData(format, data)

Stores the specified data and its associated class type in this instance.

ParameterTypeDescription
formatType
dataObject

Instance memberSetData(data)

Stores the specified data in this instance, using the class of the data for the format.

ParameterTypeDescription
dataObject

Implemented By

NameDescription
DataObjectImplements a basic data transfer mechanism.