Package org.apache.ignite.binary
Class BinaryBasicNameMapper
- java.lang.Object
- 
- org.apache.ignite.binary.BinaryBasicNameMapper
 
- 
- All Implemented Interfaces:
- BinaryNameMapper
 
 public class BinaryBasicNameMapper extends Object implements BinaryNameMapper Base binary name mapper implementation.
- 
- 
Field SummaryFields Modifier and Type Field Description static booleanDFLT_SIMPLE_NAMEDefault use simple name flag setting.
 - 
Constructor SummaryConstructors Constructor Description BinaryBasicNameMapper()Default constructor.BinaryBasicNameMapper(boolean isSimpleName)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringfieldName(String fieldName)Gets field name.inthashCode()booleanisSimpleName()Gets whether to use simple name of class or not.BinaryBasicNameMappersetSimpleName(boolean isSimpleName)Sets whether to use simple name of class or not.StringtoString()StringtypeName(String clsName)Gets type clsName.
 
- 
- 
- 
Field Detail- 
DFLT_SIMPLE_NAMEpublic static final boolean DFLT_SIMPLE_NAME Default use simple name flag setting.- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
BinaryBasicNameMapperpublic BinaryBasicNameMapper() Default constructor.
 - 
BinaryBasicNameMapperpublic BinaryBasicNameMapper(boolean isSimpleName) - Parameters:
- isSimpleName- Whether to use simple (no package) name of class or not.- Defaults to - DFLT_SIMPLE_NAME.
 
 
- 
 - 
Method Detail- 
isSimpleNamepublic boolean isSimpleName() Gets whether to use simple name of class or not.- Returns:
- Whether to use simple name of class or not.
 
 - 
setSimpleNamepublic BinaryBasicNameMapper setSimpleName(boolean isSimpleName) Sets whether to use simple name of class or not.- Parameters:
- isSimpleName- Whether to use simple name of class or not.
- Returns:
- thisfor chaining.
 
 - 
typeNamepublic String typeName(String clsName) Gets type clsName.- Specified by:
- typeNamein interface- BinaryNameMapper
- Parameters:
- clsName- Class came
- Returns:
- Type name.
 
 - 
fieldNamepublic String fieldName(String fieldName) Gets field name.- Specified by:
- fieldNamein interface- BinaryNameMapper
- Parameters:
- fieldName- Field name.
- Returns:
- Field name.
 
 
- 
 
-