Class EntityReference.Builder

    • Method Detail

      • build

        public EntityReference build()
        Returns:
        A new entity reference with the current data.
      • id

        public EntityReference.Builder id​(Long id)
        Parameters:
        id - The internal database ID of the entity.
        Returns:
        This builder instance for chaining method calls.
      • name

        public EntityReference.Builder name​(String name)
        Parameters:
        name - The name of the entity, if the entity does have a name.
        Returns:
        This builder instance for chaining method calls.
      • uuid

        public EntityReference.Builder uuid​(UUID uuid)
        Parameters:
        uuid - The UUID of the entity, if the entity does have a UUID.
        Returns:
        This builder instance for chaining method calls.