Kodo 4.2.0. generated on July 28 2008

kodo.runtime
Class FetchConfiguration

java.lang.Object
  extended by kodo.runtime.FetchConfiguration
All Implemented Interfaces:
Serializable, Cloneable, LockLevels, QueryFlushModes
Direct Known Subclasses:
JDBCFetchConfiguration

Deprecated.

public class FetchConfiguration
extends Object
implements Serializable, Cloneable, LockLevels, QueryFlushModes

A Kodo 3.x backwards-compatible interface to fetch configuration.

See Also:
Serialized Form

Field Summary
static int DEFAULT
          Deprecated.  
static int EAGER_FETCH_MULTIPLE
          Deprecated.  
static int EAGER_FETCH_NONE
          Deprecated.  
static int EAGER_FETCH_SINGLE
          Deprecated.  
static int EAGER_JOIN
          Deprecated.  
static int EAGER_NONE
          Deprecated.  
static int EAGER_PARALLEL
          Deprecated.  
static String FETCH_GROUP_ALL
          Deprecated.  
static String FETCH_GROUP_DEFAULT
          Deprecated.  
static int QUERY_FLUSH_FALSE
          Deprecated.  
static int QUERY_FLUSH_TRUE
          Deprecated.  
static int QUERY_FLUSH_WITH_CONNECTION
          Deprecated.  
 
Fields inherited from interface org.apache.openjpa.kernel.LockLevels
LOCK_NONE, LOCK_READ, LOCK_WRITE
 
Fields inherited from interface org.apache.openjpa.kernel.QueryFlushModes
FLUSH_FALSE, FLUSH_TRUE, FLUSH_WITH_CONNECTION
 
Constructor Summary
FetchConfiguration(KodoPersistenceManager pm, FetchConfiguration fetch)
          Deprecated.  
 
Method Summary
 boolean addFetchGroup(String group)
          Deprecated.  
 boolean addFetchGroups(Collection groups)
          Deprecated.  
 boolean addFetchGroups(String[] groups)
          Deprecated.  
 boolean addField(Class cls, String field)
          Deprecated.  
 boolean addField(String field)
          Deprecated.  
 boolean addFields(Class cls, Collection fields)
          Deprecated.  
 boolean addFields(Class cls, String[] fields)
          Deprecated.  
 boolean addFields(Collection fields)
          Deprecated.  
 boolean addFields(String[] fields)
          Deprecated.  
 void clearFetchGroups()
          Deprecated.  
 void clearFields()
          Deprecated.  
 Object clone()
          Deprecated.  
 int getEagerFetchMode()
          Deprecated.  
 int getFetchBatchSize()
          Deprecated.  
 Set getFetchGroups()
          Deprecated.  
 Set getFields()
          Deprecated.  
 int getFlushBeforeQueries()
          Deprecated.  
 int getLockTimeout()
          Deprecated.  
 KodoPersistenceManager getPersistenceManager()
          Deprecated.  
 int getReadLockLevel()
          Deprecated.  
 int getSubclassFetchMode()
          Deprecated.  
 int getWriteLockLevel()
          Deprecated.  
 boolean hasFetchGroup(String group)
          Deprecated.  
 boolean hasField(Class cls, String field)
          Deprecated.  
 boolean hasField(String field)
          Deprecated.  
 boolean isQueryCacheEnabled()
          Deprecated.  
 boolean removeFetchGroup(String group)
          Deprecated.  
 boolean removeFetchGroups(Collection groups)
          Deprecated.  
 boolean removeFetchGroups(String[] groups)
          Deprecated.  
 boolean removeField(Class cls, String field)
          Deprecated.  
 boolean removeField(String field)
          Deprecated.  
 boolean removeFields(Class cls, Collection fields)
          Deprecated.  
 boolean removeFields(Class cls, String[] fields)
          Deprecated.  
 boolean removeFields(Collection fields)
          Deprecated.  
 boolean removeFields(String[] fields)
          Deprecated.  
 void resetFetchGroups()
          Deprecated.  
 void setEagerFetchMode(int mode)
          Deprecated.  
 void setFetchBatchSize(int fetchBatchSize)
          Deprecated.  
 void setFlushBeforeQueries(int flush)
          Deprecated.  
 void setLockTimeout(int timeout)
          Deprecated.  
 void setQueryCacheEnabled(boolean cache)
          Deprecated.  
 void setReadLockLevel(int level)
          Deprecated.  
 void setSubclassFetchMode(int mode)
          Deprecated.  
 void setWriteLockLevel(int level)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final int DEFAULT
Deprecated. 
See Also:
Constant Field Values

FETCH_GROUP_DEFAULT

public static final String FETCH_GROUP_DEFAULT
Deprecated. 
See Also:
Constant Field Values

FETCH_GROUP_ALL

public static final String FETCH_GROUP_ALL
Deprecated. 
See Also:
Constant Field Values

EAGER_NONE

public static final int EAGER_NONE
Deprecated. 
See Also:
Constant Field Values

EAGER_JOIN

public static final int EAGER_JOIN
Deprecated. 
See Also:
Constant Field Values

EAGER_PARALLEL

public static final int EAGER_PARALLEL
Deprecated. 
See Also:
Constant Field Values

EAGER_FETCH_NONE

public static final int EAGER_FETCH_NONE
Deprecated. 
See Also:
Constant Field Values

EAGER_FETCH_SINGLE

public static final int EAGER_FETCH_SINGLE
Deprecated. 
See Also:
Constant Field Values

EAGER_FETCH_MULTIPLE

public static final int EAGER_FETCH_MULTIPLE
Deprecated. 
See Also:
Constant Field Values

QUERY_FLUSH_TRUE

public static final int QUERY_FLUSH_TRUE
Deprecated. 
See Also:
Constant Field Values

QUERY_FLUSH_FALSE

public static final int QUERY_FLUSH_FALSE
Deprecated. 
See Also:
Constant Field Values

QUERY_FLUSH_WITH_CONNECTION

public static final int QUERY_FLUSH_WITH_CONNECTION
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

FetchConfiguration

public FetchConfiguration(KodoPersistenceManager pm,
                          FetchConfiguration fetch)
Deprecated. 
Method Detail

getPersistenceManager

public KodoPersistenceManager getPersistenceManager()
Deprecated. 

getEagerFetchMode

public int getEagerFetchMode()
Deprecated. 

setEagerFetchMode

public void setEagerFetchMode(int mode)
Deprecated. 

getSubclassFetchMode

public int getSubclassFetchMode()
Deprecated. 

setSubclassFetchMode

public void setSubclassFetchMode(int mode)
Deprecated. 

getFetchBatchSize

public int getFetchBatchSize()
Deprecated. 

setFetchBatchSize

public void setFetchBatchSize(int fetchBatchSize)
Deprecated. 

isQueryCacheEnabled

public boolean isQueryCacheEnabled()
Deprecated. 

setQueryCacheEnabled

public void setQueryCacheEnabled(boolean cache)
Deprecated. 

getFlushBeforeQueries

public int getFlushBeforeQueries()
Deprecated. 

setFlushBeforeQueries

public void setFlushBeforeQueries(int flush)
Deprecated. 

getFetchGroups

public Set getFetchGroups()
Deprecated. 

hasFetchGroup

public boolean hasFetchGroup(String group)
Deprecated. 

addFetchGroup

public boolean addFetchGroup(String group)
Deprecated. 

addFetchGroups

public boolean addFetchGroups(String[] groups)
Deprecated. 

addFetchGroups

public boolean addFetchGroups(Collection groups)
Deprecated. 

removeFetchGroup

public boolean removeFetchGroup(String group)
Deprecated. 

removeFetchGroups

public boolean removeFetchGroups(String[] groups)
Deprecated. 

removeFetchGroups

public boolean removeFetchGroups(Collection groups)
Deprecated. 

clearFetchGroups

public void clearFetchGroups()
Deprecated. 

resetFetchGroups

public void resetFetchGroups()
Deprecated. 

getFields

public Set getFields()
Deprecated. 

hasField

public boolean hasField(String field)
Deprecated. 

hasField

public boolean hasField(Class cls,
                        String field)
Deprecated. 

addField

public boolean addField(String field)
Deprecated. 

addField

public boolean addField(Class cls,
                        String field)
Deprecated. 

addFields

public boolean addFields(String[] fields)
Deprecated. 

addFields

public boolean addFields(Class cls,
                         String[] fields)
Deprecated. 

addFields

public boolean addFields(Collection fields)
Deprecated. 

addFields

public boolean addFields(Class cls,
                         Collection fields)
Deprecated. 

removeField

public boolean removeField(String field)
Deprecated. 

removeField

public boolean removeField(Class cls,
                           String field)
Deprecated. 

removeFields

public boolean removeFields(String[] fields)
Deprecated. 

removeFields

public boolean removeFields(Class cls,
                            String[] fields)
Deprecated. 

removeFields

public boolean removeFields(Collection fields)
Deprecated. 

removeFields

public boolean removeFields(Class cls,
                            Collection fields)
Deprecated. 

clearFields

public void clearFields()
Deprecated. 

getLockTimeout

public int getLockTimeout()
Deprecated. 

setLockTimeout

public void setLockTimeout(int timeout)
Deprecated. 

getReadLockLevel

public int getReadLockLevel()
Deprecated. 

setReadLockLevel

public void setReadLockLevel(int level)
Deprecated. 

getWriteLockLevel

public int getWriteLockLevel()
Deprecated. 

setWriteLockLevel

public void setWriteLockLevel(int level)
Deprecated. 

clone

public Object clone()
Deprecated. 
Overrides:
clone in class Object

Kodo 4.2.0. generated on July 28 2008

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.