|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.midao.jdbc.core.Overrider
public class Overrider
Overrider class is model responsible for storing information
about standard functionality overrides in QueryRunnerService
,
StatementHandler
and TypeHandler
Constructor Summary | |
---|---|
Overrider()
|
Method Summary | |
---|---|
java.lang.Object |
getOverride(java.lang.String operation)
Return override value |
boolean |
hasOverride(java.lang.String operation)
Checks if override is present, but it won't be actually read |
void |
override(java.lang.String operation,
java.lang.Object value)
Adds override which would be used until removed. |
void |
overrideOnce(java.lang.String operation,
java.lang.Object value)
Adds override which would be used only once. |
void |
removeOverride(java.lang.String operation)
Removes override. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Overrider()
Method Detail |
---|
public void overrideOnce(java.lang.String operation, java.lang.Object value)
operation
- name of the operationvalue
- override valuepublic void override(java.lang.String operation, java.lang.Object value)
operation
- name of the operationvalue
- override valuepublic void removeOverride(java.lang.String operation)
operation
- name of the operationpublic boolean hasOverride(java.lang.String operation)
operation
- name of the operation
public java.lang.Object getOverride(java.lang.String operation)
operation
- name of the operation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |