public class HashQueryNameStrategy extends Object implements QueryNameStrategy
| Constructor and Description |
|---|
HashQueryNameStrategy() |
| 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 HashQueryNameStrategy()
public String toGetName(Object o)
QueryNameStrategytoGetName in interface QueryNameStrategyo - instance of object that will be persistedpublic String toAddName(Object o)
QueryNameStrategytoAddName in interface QueryNameStrategyo - instance of object that will be persistedpublic String toRemoveName(Object o)
QueryNameStrategytoRemoveName in interface QueryNameStrategyo - instance of object that will be persistedpublic String toUpdateName(Object o)
QueryNameStrategytoUpdateName in interface QueryNameStrategyo - instance of object that will be persistedpublic String toListName(Object o)
QueryNameStrategytoListName in interface QueryNameStrategyo - instance of object that will be persistedCopyright © 2012–2020 jkniv, copyleft code. All rights reserved.