org.jminor.common.db
Class AbstractOperation

java.lang.Object
  extended by org.jminor.common.db.AbstractOperation
All Implemented Interfaces:
DatabaseConnection.Operation
Direct Known Subclasses:
AbstractFunction, AbstractProcedure

public class AbstractOperation
extends Object
implements DatabaseConnection.Operation

A base Operation implementation


Constructor Summary
AbstractOperation(String id, String name)
          Instantiates a new AbstractOperation
 
Method Summary
 String getID()
          
 String getName()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractOperation

public AbstractOperation(String id,
                         String name)
Instantiates a new AbstractOperation

Parameters:
id - the operation ID
name - the operatin name
Method Detail

getID

public final String getID()

Specified by:
getID in interface DatabaseConnection.Operation
Returns:
this operation's unique ID

getName

public final String getName()

Specified by:
getName in interface DatabaseConnection.Operation
Returns:
the name of this operation