org.jminor.common.db
Class AbstractOperation
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOperation
public AbstractOperation(String id,
String name)
- Instantiates a new AbstractOperation
- Parameters:
id
- the operation IDname
- the operatin name
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