FileDocCategorySizeDatePackage
MetadataDiscriminatorColumn.javaAPI DocGlassfish v2 API3625Tue May 22 16:54:26 BST 2007oracle.toplink.essentials.internal.ejb.cmp3.metadata.columns

MetadataDiscriminatorColumn

public class MetadataDiscriminatorColumn extends Object
Object to hold onto discriminator column metadata.
author
Guy Pelletier
since
TopLink EJB 3.0 Reference Implementation

Fields Summary
public static final int
DEFAULT_LENGTH
public static final String
DEFAULT_NAME
public static final String
DEFAULT_COLUMN_DEFINITION
public static final String
DEFAULT_DISCRIMINATOR_TYPE
protected DiscriminatorColumn
m_discriminatorColumn
Constructors Summary
protected MetadataDiscriminatorColumn()
INTERNAL:

    
          
      
public MetadataDiscriminatorColumn(DiscriminatorColumn discriminatorColumn)
INTERNAL:

        m_discriminatorColumn = discriminatorColumn;
    
Methods Summary
public java.lang.StringgetColumnDefinition()
INTERNAL:

        return (m_discriminatorColumn == null) ? DEFAULT_COLUMN_DEFINITION : m_discriminatorColumn.columnDefinition();
    
public java.lang.StringgetDiscriminatorType()
INTERNAL:

        return (m_discriminatorColumn == null) ? DEFAULT_DISCRIMINATOR_TYPE : m_discriminatorColumn.discriminatorType().name();
    
public intgetLength()
INTERNAL:

        return (m_discriminatorColumn == null) ? DEFAULT_LENGTH : m_discriminatorColumn.length();
    
public java.lang.StringgetName()
INTERNAL:

        return (m_discriminatorColumn == null) ? null : m_discriminatorColumn.name();