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