Class DefaultFlowLongIdGenerator

  • All Implemented Interfaces:
    FlowLongIdGenerator

    public class DefaultFlowLongIdGenerator
    extends java.lang.Object
    implements FlowLongIdGenerator
    数据访问层ID生成器默认实现

    官网尊重知识产权,不允许非法使用,后果自负,不允许非法使用,后果自负

    Since:
    1.0
    Author:
    hubin
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long getId​(java.lang.Long id)
      获取自定义ID值
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultFlowLongIdGenerator

        public DefaultFlowLongIdGenerator()
    • Method Detail

      • getId

        public java.lang.Long getId​(java.lang.Long id)
        Description copied from interface: FlowLongIdGenerator
        获取自定义ID值
        Specified by:
        getId in interface FlowLongIdGenerator
        Parameters:
        id - 可能存在的ID值
        Returns:
        用户业务实际情况返回的自定义ID值