public class BinaryBasicNameMapper extends Object implements BinaryNameMapper
Modifier and Type | Field and Description |
---|---|
static boolean |
DFLT_SIMPLE_NAME
Default use simple name flag setting.
|
Constructor and Description |
---|
BinaryBasicNameMapper()
Default constructor.
|
BinaryBasicNameMapper(boolean isSimpleName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
fieldName(String fieldName)
Gets field name.
|
int |
hashCode() |
boolean |
isSimpleName()
Gets whether to use simple name of class or not.
|
BinaryBasicNameMapper |
setSimpleName(boolean isSimpleName)
Sets whether to use simple name of class or not.
|
String |
toString() |
String |
typeName(String clsName)
Gets type clsName.
|
public static final boolean DFLT_SIMPLE_NAME
public BinaryBasicNameMapper()
public BinaryBasicNameMapper(boolean isSimpleName)
isSimpleName
- Whether to use simple (no package) name of class or not.
Defaults to DFLT_SIMPLE_NAME
.
public boolean isSimpleName()
public BinaryBasicNameMapper setSimpleName(boolean isSimpleName)
isSimpleName
- Whether to use simple name of class or not.this
for chaining.public String typeName(String clsName)
typeName
in interface BinaryNameMapper
clsName
- Class camepublic String fieldName(String fieldName)
fieldName
in interface BinaryNameMapper
fieldName
- Field name.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019