com.bea.wli.datatype
Interface DataTypeVariantFactory


public interface DataTypeVariantFactory

Implemented by DataType instances that allow variants of themselves.


Method Summary
 DataType createVariant(Object variantInfo)
          Create a new variant of a base data type by specifying the information that is unique to the variant with respect to its base type.
 DataTypeVariantInfoSerializer getVariantInfoSerializer()
          Gets a helper object that can be used to generate the variant info needed to describe a variant of a base data type.
 

Method Detail

getVariantInfoSerializer

DataTypeVariantInfoSerializer getVariantInfoSerializer()
Gets a helper object that can be used to generate the variant info needed to describe a variant of a base data type.

Returns:

createVariant

DataType createVariant(Object variantInfo)
                       throws DataTypeException
Create a new variant of a base data type by specifying the information that is unique to the variant with respect to its base type.

Parameters:
variantInfo -
Returns:
Throws:
DataTypeException