org.datanucleus.jdo.metadata
Class QueryMetadataImpl

java.lang.Object
  extended by org.datanucleus.jdo.metadata.AbstractMetadataImpl
      extended by org.datanucleus.jdo.metadata.QueryMetadataImpl
All Implemented Interfaces:
javax.jdo.metadata.Metadata, javax.jdo.metadata.QueryMetadata

public class QueryMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.QueryMetadata

Implementation of JDO QueryMetadata object.


Constructor Summary
QueryMetadataImpl(QueryMetaData querymd)
           
 
Method Summary
 java.lang.String getFetchPlan()
           
 QueryMetaData getInternal()
           
 java.lang.String getLanguage()
           
 java.lang.String getName()
           
 java.lang.String getQuery()
           
 java.lang.String getResultClass()
           
 java.lang.Boolean getUnique()
           
 boolean getUnmodifiable()
           
 javax.jdo.metadata.QueryMetadata setFetchPlan(java.lang.String fpName)
           
 javax.jdo.metadata.QueryMetadata setLanguage(java.lang.String lang)
           
 javax.jdo.metadata.QueryMetadata setQuery(java.lang.String query)
           
 javax.jdo.metadata.QueryMetadata setResultClass(java.lang.String resultClass)
           
 javax.jdo.metadata.QueryMetadata setUnique(boolean unique)
           
 javax.jdo.metadata.QueryMetadata setUnmodifiable()
           
 
Methods inherited from class org.datanucleus.jdo.metadata.AbstractMetadataImpl
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jdo.metadata.Metadata
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
 

Constructor Detail

QueryMetadataImpl

public QueryMetadataImpl(QueryMetaData querymd)
Method Detail

getInternal

public QueryMetaData getInternal()

getFetchPlan

public java.lang.String getFetchPlan()
Specified by:
getFetchPlan in interface javax.jdo.metadata.QueryMetadata

getLanguage

public java.lang.String getLanguage()
Specified by:
getLanguage in interface javax.jdo.metadata.QueryMetadata

getName

public java.lang.String getName()
Specified by:
getName in interface javax.jdo.metadata.QueryMetadata

getQuery

public java.lang.String getQuery()
Specified by:
getQuery in interface javax.jdo.metadata.QueryMetadata

getResultClass

public java.lang.String getResultClass()
Specified by:
getResultClass in interface javax.jdo.metadata.QueryMetadata

getUnique

public java.lang.Boolean getUnique()
Specified by:
getUnique in interface javax.jdo.metadata.QueryMetadata

getUnmodifiable

public boolean getUnmodifiable()
Specified by:
getUnmodifiable in interface javax.jdo.metadata.QueryMetadata

setFetchPlan

public javax.jdo.metadata.QueryMetadata setFetchPlan(java.lang.String fpName)
Specified by:
setFetchPlan in interface javax.jdo.metadata.QueryMetadata

setLanguage

public javax.jdo.metadata.QueryMetadata setLanguage(java.lang.String lang)
Specified by:
setLanguage in interface javax.jdo.metadata.QueryMetadata

setQuery

public javax.jdo.metadata.QueryMetadata setQuery(java.lang.String query)
Specified by:
setQuery in interface javax.jdo.metadata.QueryMetadata

setResultClass

public javax.jdo.metadata.QueryMetadata setResultClass(java.lang.String resultClass)
Specified by:
setResultClass in interface javax.jdo.metadata.QueryMetadata

setUnique

public javax.jdo.metadata.QueryMetadata setUnique(boolean unique)
Specified by:
setUnique in interface javax.jdo.metadata.QueryMetadata

setUnmodifiable

public javax.jdo.metadata.QueryMetadata setUnmodifiable()
Specified by:
setUnmodifiable in interface javax.jdo.metadata.QueryMetadata


Copyright © 2010. All Rights Reserved.