Class Entity.Builder

  • Enclosing class:
    Entity

    public static class Entity.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public Entity build()
        Builds a Entity.
        Returns:
        the new Entity instance
      • id

        public Entity.Builder id​(java.lang.String id)
        Set the id.
        Parameters:
        id - the id
        Returns:
        the Entity builder
      • type

        public Entity.Builder type​(java.lang.String type)
        Set the type.
        Parameters:
        type - the type
        Returns:
        the Entity builder
      • uid

        public Entity.Builder uid​(long uid)
        Set the uid.
        Parameters:
        uid - the uid
        Returns:
        the Entity builder
      • mergeid

        public Entity.Builder mergeid​(long mergeid)
        Set the mergeid.
        Parameters:
        mergeid - the mergeid
        Returns:
        the Entity builder