Ontimize 5.2072EN

com.ontimize.util.templates
Interface ITemplateField

All Known Implementing Classes:
Chart, CheckDataField, HTMLDataField, ImageDataField, ReferenceComboDataField, ReferenceExtDataField, RTFDataField, Table

public interface ITemplateField

This interface must be implements by each data field that will be using to fill/create a template.

Since:
5.2057EN-0.7
Author:
Imatia Innovation S.L.

Field Summary
static int DATA_TYPE_FIELD
           
static java.lang.String DATA_TYPE_FIELD_ATTR
           
static int DATA_TYPE_IMAGE
           
static java.lang.String DATA_TYPE_IMAGE_ATTR
           
static int DATA_TYPE_TABLE
           
static java.lang.String DATA_TYPE_TABLE_ATTR
           
static java.lang.String TEMPLATE_DATA_TYPE
           
 
Method Summary
 int getTemplateDataType()
          Returns the data type.
 java.lang.Object getTemplateDataValue()
          Gets the value to show in the template
 

Field Detail

TEMPLATE_DATA_TYPE

public static final java.lang.String TEMPLATE_DATA_TYPE
See Also:
Constant Field Values

DATA_TYPE_FIELD_ATTR

public static final java.lang.String DATA_TYPE_FIELD_ATTR
See Also:
Constant Field Values

DATA_TYPE_IMAGE_ATTR

public static final java.lang.String DATA_TYPE_IMAGE_ATTR
See Also:
Constant Field Values

DATA_TYPE_TABLE_ATTR

public static final java.lang.String DATA_TYPE_TABLE_ATTR
See Also:
Constant Field Values

DATA_TYPE_FIELD

public static final int DATA_TYPE_FIELD
See Also:
Constant Field Values

DATA_TYPE_IMAGE

public static final int DATA_TYPE_IMAGE
See Also:
Constant Field Values

DATA_TYPE_TABLE

public static final int DATA_TYPE_TABLE
See Also:
Constant Field Values
Method Detail

getTemplateDataType

public int getTemplateDataType()
Returns the data type. The values that can return are: DATA_TYPE_FIELD DATA_TYPE_IMAGE DATA_TYPE_TABLE

Returns:
a int with the data type.

getTemplateDataValue

public java.lang.Object getTemplateDataValue()
Gets the value to show in the template

Returns:

Ontimize