FileDocCategorySizeDatePackage
MetadataQuery.javaAPI DocGlassfish v2 API3879Tue May 22 16:54:28 BST 2007oracle.toplink.essentials.internal.ejb.cmp3.metadata.queries

MetadataQuery

public abstract class MetadataQuery extends Object
Object to hold onto a named query metadata's hints.
author
Guy Pelletier
since
TopLink EJB 3.0 Reference Implementation

Fields Summary
private String
m_name
private String
m_query
private Object
m_location
private List
m_hints
Constructors Summary
protected MetadataQuery()
INTERNAL:

        m_hints = new ArrayList<MetadataQueryHint>();
    
Methods Summary
protected voidaddHint(oracle.toplink.essentials.internal.ejb.cmp3.metadata.queries.MetadataQueryHint hint)
INTERNAL:

        m_hints.add(hint);
    
public java.lang.StringgetEJBQLString()
INTERNAL:

        return m_query;
    
public java.util.ListgetHints()
INTERNAL:

        return m_hints; 
    
public abstract java.lang.StringgetIgnoreLogMessageContext()
INTERNAL:

public java.lang.ObjectgetLocation()
INTERNAL:

        return m_location;
    
public java.lang.StringgetName()
INTERNAL:

        return m_name;
    
public booleanloadedFromAnnotations()
INTERNAL: (Overriden in XMLNamedNativeQuery and XMLNamedQuery)

        return true;
    
public booleanloadedFromXML()
INTERNAL: (Overriden in XMLNamedNativeQuery and XMLNamedQuery)

        return false;
    
protected voidsetEJBQLString(java.lang.String query)
INTERNAL:

        m_query = query;
    
protected voidsetLocation(java.lang.Object location)
INTERNAL:

        m_location = location;
    
protected voidsetName(java.lang.String name)
INTERNAL:

        m_name = name;