类 IdGenerator.Builder

  • 封闭类:
    IdGenerator

    public static class IdGenerator.Builder
    extends java.lang.Object
    • 构造器详细资料

      • Builder

        public Builder()
    • 方法详细资料

      • defaultId

        public IdGenerator.Builder defaultId​(java.lang.String defaultId)
        参数:
        defaultId - the default identifier to use in case the provided text is empty or only contains unusable characters
        返回:
        this
      • prefix

        public IdGenerator.Builder prefix​(java.lang.String prefix)
        参数:
        prefix - the text to place before the generated identity
        返回:
        this
      • suffix

        public IdGenerator.Builder suffix​(java.lang.String suffix)
        参数:
        suffix - the text to place after the generated identity
        返回:
        this