com.bea.wli.datatype
Interface DataTypeVariant

All Superinterfaces:
Serializable

public interface DataTypeVariant
extends Serializable

Represents a variant of a base data type. The differences between the base type and this type are represented by the variant info JavaBean obtained via a call to getVariantInfo().


Method Summary
 DataType getBaseType()
          Get the base type for a variant data type.
 DataTypeVariantFactory getVariantFactory(ClassLoader loader)
          Get a factory object for handling variant info on this variant.
 Object getVariantInfo()
          Get a description of the information that makes this variant unique with respect to its base type.
 

Method Detail

getBaseType

DataType getBaseType()
Get the base type for a variant data type.

Returns:

getVariantInfo

Object getVariantInfo()
Get a description of the information that makes this variant unique with respect to its base type.

Returns:

getVariantFactory

DataTypeVariantFactory getVariantFactory(ClassLoader loader)
Get a factory object for handling variant info on this variant.

Parameters:
loader - A ClassLoader used to load any resources or classes needed to define the variant. This parameter may be null. If it is null, the thread context classloader, DataType classloader (loader that loaded the data type impl class), or system classloader should be used (in order of preference).