public class DefaultSqlNameStrategy extends Object implements ISqlNameStrategy
PROPERTY_NAME_STRATEGY| Constructor and Description |
|---|
DefaultSqlNameStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String |
toAddName(Object o)
Return the default query name at XML file to retrieve an object by 'add'
method.
|
String |
toGetName(Object o)
Return the default query name at XML file to retrieve an object by 'get'
method.
|
String |
toListName(Object o)
Return the default query name at XML file to retrieve an object by 'list'
method.
|
String |
toRemoveName(Object o)
Return the default query name at XML file to retrieve an object by
'remove' method.
|
String |
toUpdateName(Object o)
Return the default query name at XML file to retrieve an object by
'update' method.
|
public String toGetName(Object o)
ISqlNameStrategytoGetName in interface ISqlNameStrategyo - instance of object that will be persistedpublic String toAddName(Object o)
ISqlNameStrategytoAddName in interface ISqlNameStrategyo - instance of object that will be persistedpublic String toRemoveName(Object o)
ISqlNameStrategytoRemoveName in interface ISqlNameStrategyo - instance of object that will be persistedpublic String toUpdateName(Object o)
ISqlNameStrategytoUpdateName in interface ISqlNameStrategyo - instance of object that will be persistedpublic String toListName(Object o)
ISqlNameStrategytoListName in interface ISqlNameStrategyo - instance of object that will be persistedCopyright © 2015 jkniv. All rights reserved.