org.bdgp.io
Class IOOperation

java.lang.Object
  |
  +--org.bdgp.io.IOOperation

public class IOOperation
extends java.lang.Object

An input/output operation. This class is used to represent ANY operation that a data adapter might perform. This could be a common operation like "read" or "write", or it could be something very specific to a particular data source, like "reindex" or "page all database users"

See Also:
DataAdapter, DataAdapterChooser

Field Summary
protected  java.lang.String name
           
static IOOperation READ
          A predefined IOOperation for "read"
static IOOperation WRITE
          A predifined IOOperation for "write"
 
Constructor Summary
IOOperation(java.lang.String name)
          Creates a named IOOperation
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether this IOOperation equals another.
 java.lang.String getName()
          Returns the name of this IOOperation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

READ

public static final IOOperation READ
A predefined IOOperation for "read"

WRITE

public static final IOOperation WRITE
A predifined IOOperation for "write"

name

protected java.lang.String name
Constructor Detail

IOOperation

public IOOperation(java.lang.String name)
Creates a named IOOperation
Method Detail

getName

public java.lang.String getName()
Returns the name of this IOOperation

equals

public boolean equals(java.lang.Object o)
Indicates whether this IOOperation equals another. IOOperations are only equal if they are the IDENTICAL OBJECT. Two IOOperations with the same name are not equal unless they are actually the same object.
Overrides:
equals in class java.lang.Object