public class ConstantEntityNameStrategy extends Object implements EntityNameStrategy
Constructor and Description |
---|
ConstantEntityNameStrategy(String entityName)
Create a new ConstantEntityNameStrategy instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getEntityName()
Get the constant entityName.
|
String |
getEntityName(Object o)
Get the Entity name to associate with the argument.
|
public ConstantEntityNameStrategy(String entityName)
entityName
- to setpublic String getEntityName(Object o)
getEntityName
in interface EntityNameStrategy
o
- to resolvepublic String getEntityName()
Copyright © 2008-2016 The Apache Software Foundation. All Rights Reserved.