FileDocCategorySizeDatePackage
XMLDiscriminatorColumn.javaAPI DocGlassfish v2 API3405Tue May 22 16:54:30 BST 2007oracle.toplink.essentials.internal.ejb.cmp3.xml.columns

XMLDiscriminatorColumn

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

Fields Summary
protected Node
m_node
protected XMLHelper
m_helper
Constructors Summary
public XMLDiscriminatorColumn(Node node, XMLHelper helper)
INTERNAL:

        m_node = node;
        m_helper = helper;
    
Methods Summary
public java.lang.StringgetColumnDefinition()
INTERNAL:

        return m_helper.getNodeValue(m_node, XMLConstants.ATT_COLUMN_DEFINITION, DEFAULT_COLUMN_DEFINITION);
    
public java.lang.StringgetDiscriminatorType()
INTERNAL:

        return m_helper.getNodeValue(m_node, XMLConstants.ATT_DISCRIMINATOR_TYPE, DEFAULT_DISCRIMINATOR_TYPE);
    
public intgetLength()
INTERNAL:

        return m_helper.getNodeValue(m_node, XMLConstants.ATT_LENGTH, DEFAULT_LENGTH);
    
public java.lang.StringgetName()
INTERNAL:

        return m_helper.getNodeValue(m_node, XMLConstants.ATT_NAME);