public class DefaultEntityNameStrategy extends Object implements EntityNameStrategy
| Constructor and Description |
|---|
DefaultEntityNameStrategy() |
public DefaultEntityNameStrategy()
public String getEntityName(Object o)
o is null, returns "null".
If o is a CharSequence, its String value is returned.
If o is a Class, its uncapitalized short classname is returned.
Otherwise returns uncapitalized short classname of o.getEntityName in interface EntityNameStrategyo - Object.ClassUtils.getShortClassName(Class)Copyright © 2008-2016 The Apache Software Foundation. All Rights Reserved.