FileDocCategorySizeDatePackage
XMLManyToOneAccessor.javaAPI DocGlassfish v2 API4098Tue May 22 16:54:30 BST 2007oracle.toplink.essentials.internal.ejb.cmp3.xml.accessors

XMLManyToOneAccessor

public class XMLManyToOneAccessor extends ManyToOneAccessor
An xml extended many to one relationship accessor.
author
Guy Pelletier
since
TopLink EJB 3.0 Reference Implementation

Fields Summary
protected Node
m_node
protected XMLHelper
m_helper
Constructors Summary
public XMLManyToOneAccessor(MetadataAccessibleObject accessibleObject, Node node, XMLClassAccessor classAccessor)
INTERNAL:

        super(accessibleObject, classAccessor);
        m_node = node;
        m_helper = classAccessor.getHelper();
    
Methods Summary
public java.util.ListgetCascadeTypes()
INTERNAL: (Override from ManyToOneAccessor)

        return m_helper.getCascadeTypes(m_node);
    
public java.lang.StringgetFetchType()
INTERNAL: (Override from ManyToOneAccessor)

        return m_helper.getFetchTypeDefaultEAGER(m_node);
    
protected oracle.toplink.essentials.internal.ejb.cmp3.metadata.columns.MetadataJoinColumnsgetJoinColumns()
INTERNAL: (Override from RelationshipAccessor)

        if (m_helper.nodeHasJoinColumns(m_node)) {
            return new XMLJoinColumns(m_node, m_helper);
        } else {
            return super.getJoinColumns();
        }
    
public java.lang.ClassgetTargetEntity()
INTERNAL: (Override from ManyToOneAccessor)

        return m_helper.getTargetEntity(m_node);
    
public booleanisOptional()
INTERNAL: (Override from ManyToOneAccessor)

        return m_helper.isOptional(m_node);