FileDocCategorySizeDatePackage
NumericConverterFactory.javaAPI DocGlassfish v2 API2903Fri May 04 22:35:18 BST 2007com.sun.jdo.spi.persistence.support.sqlstore.utility

NumericConverterFactory

public class NumericConverterFactory extends Object
This is a factory class for NumericConverter.
author
Shing Wai Chan

Fields Summary
private static NumericConverter
defaultConverter
Constructors Summary
protected NumericConverterFactory()

param
policy for determining mechanism for conversion from BigDecimal to BigInteger


                             
       
     
Methods Summary
public static NumericConvertergetNumericConverter(int policy)
This method returns an instance of NumericConverter for a given policy.

param
policy for determining mechanism for conversion from inexact type to exact type.
return
NumericConverter corresponds to a policy

         return defaultConverter;