biz.c24.io.api.data
Interface FormatableDataType

All Known Implementing Classes:
ByteDataType, CharDataType, DecimalDataType, DoubleDataType, FloatDataType, GenericDateDataType, IntDataType, IntegerDataType, LongDataType, NegativeIntegerDataType, NonNegativeIntegerDataType, NonPositiveIntegerDataType, NumberDataType, PositiveIntegerDataType, ShortDataType, UnsignedByteDataType, UnsignedIntDataType, UnsignedLongDataType, UnsignedShortDataType

public interface FormatableDataType

Data types that supports the format(s).

Marks the data types with format support. Provides the queries the allowed formats.

Version:
$Revision: 10302 $ $Date: 2008-04-02 14:08:09 -0400 (Wed, 02 Apr 2008) $

Method Summary
 Format createFormat(int idx)
          Returns the format with specified index.
 int getFormatsCount()
          Returns the defined formats count or 0 if there is no any.
 

Method Detail

getFormatsCount

int getFormatsCount()
Returns the defined formats count or 0 if there is no any.

Returns:
The defined formats count.

createFormat

Format createFormat(int idx)
Returns the format with specified index.

Parameters:
idx - The index of requested format.
Returns:
The requested format.


C24 Technologies © 2002-2012: All Rights Reserved.