Package me.ahoo.cosid.converter
Class SuffixIdConverter
java.lang.Object
me.ahoo.cosid.converter.SuffixIdConverter
- All Implemented Interfaces:
Decorator<IdConverter>
,IdConverter
,Statistical
Suffix IdConverter .
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SuffixIdConverter
-
-
Method Details
-
getActual
Description copied from interface:Decorator
Get decorator actual id generator.- Specified by:
getActual
in interfaceDecorator<IdConverter>
- Returns:
- actual id generator
-
getSuffix
-
asString
Description copied from interface:IdConverter
convertlong
type ID toString
.- Specified by:
asString
in interfaceIdConverter
- Parameters:
id
-long
type ID- Returns:
String
type ID
-
asLong
Description copied from interface:IdConverter
convertString
type ID tolong
.- Specified by:
asLong
in interfaceIdConverter
- Parameters:
idString
-String
type ID- Returns:
long
type ID
-
stat
- Specified by:
stat
in interfaceIdConverter
- Specified by:
stat
in interfaceStatistical
-