org.xorm
Class Options

java.lang.Object
  |
  +--org.xorm.Options
All Implemented Interfaces:
Cloneable, Serializable

public class Options
extends Object
implements Cloneable, Serializable

This class encapsulates the JDO options associated with many JDO interfaces. It can be extended or used via a wrapper pattern.

Author:
Wes Biggs
See Also:
Serialized Form

Field Summary
static int NONTRANSACTIONAL_READ
           
static int NONTRANSACTIONAL_WRITE
           
static int OPTIMISTIC
           
protected  BitSet optionsFlags
           
static int RESTORE_VALUES
           
static int RETAIN_VALUES
           
 
Constructor Summary
Options()
           
 
Method Summary
 Object clone()
          Returns a deep clone of this instance.
 boolean getNontransactionalRead()
           
 boolean getNontransactionalWrite()
           
 boolean getOptimistic()
           
 boolean getRestoreValues()
           
 boolean getRetainValues()
           
 void setNontransactionalRead(boolean nontransactionalRead)
           
 void setNontransactionalWrite(boolean nontransactionalWrite)
           
 void setOptimistic(boolean optimistic)
           
 void setRestoreValues(boolean restoreValues)
           
 void setRetainValues(boolean retainValues)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONTRANSACTIONAL_READ

public static final int NONTRANSACTIONAL_READ
See Also:
Constant Field Values

NONTRANSACTIONAL_WRITE

public static final int NONTRANSACTIONAL_WRITE
See Also:
Constant Field Values

RETAIN_VALUES

public static final int RETAIN_VALUES
See Also:
Constant Field Values

OPTIMISTIC

public static final int OPTIMISTIC
See Also:
Constant Field Values

RESTORE_VALUES

public static final int RESTORE_VALUES
See Also:
Constant Field Values

optionsFlags

protected BitSet optionsFlags
Constructor Detail

Options

public Options()
Method Detail

clone

public Object clone()
Returns a deep clone of this instance.

Overrides:
clone in class Object

setNontransactionalRead

public void setNontransactionalRead(boolean nontransactionalRead)

getNontransactionalRead

public boolean getNontransactionalRead()

setNontransactionalWrite

public void setNontransactionalWrite(boolean nontransactionalWrite)

getNontransactionalWrite

public boolean getNontransactionalWrite()

setRetainValues

public void setRetainValues(boolean retainValues)

getRetainValues

public boolean getRetainValues()

setOptimistic

public void setOptimistic(boolean optimistic)

getOptimistic

public boolean getOptimistic()

setRestoreValues

public void setRestoreValues(boolean restoreValues)

getRestoreValues

public boolean getRestoreValues()


$Header: /cvsroot/xorm/xorm/docs/api/org/xorm/Options.html,v 1.6 2004/05/30 08:55:03 wbiggs Exp $