ABLE 2.0.0 07/02/2003 10:25:01

com.ibm.able.beans.filter
Interface AbleTranslateTemplateProvider

All Known Implementing Classes:
AbleBackPropagation, AbleRadialBasisFunctionNet, AbleSelfOrganizingMap, AbleDecisionTree, AbleKnn, AbleNaiveBayesDistributed, AbleNaiveBayes

public interface AbleTranslateTemplateProvider

This interface allows beans to supply any unique behavior required for their inputs and outputs.


Method Summary
 void generateTranslateTemplates(AbleFilter inFilter, AbleFilter outFilter, java.util.Vector fields)
          Populate a filter for converting data to a bean's input specifications, and a filter for converting a bean's output specifications back to the original coordinates.
 

Method Detail

generateTranslateTemplates

public void generateTranslateTemplates(AbleFilter inFilter,
                                       AbleFilter outFilter,
                                       java.util.Vector fields)
                                throws AbleException
Populate a filter for converting data to a bean's input specifications, and a filter for converting a bean's output specifications back to the original coordinates. Translate templates are added to each filter for each field as appropriate for its field usage and datatype. A bean who wishes to provide only default templates can use the static link provided in AbleFilter.generateTranslateTemplates(com.ibm.able.beans.filter.AbleFilter, com.ibm.able.beans.filter.AbleFilter, java.util.Vector)
Parameters:
inFilter - The AbleFilter used to convert incoming data.
outFilter - The AbleFilter used to convert outgoing data.
fields - A vector of AbleFields from which to derive the translation template.
Returns:
An array containing two AbleFilter objectshe translation template.

ABLE 2.0.0 07/02/2003 10:25:01

(C) Copyright IBM Corporation 1999, 2003