code: public static Specification<JpaDistributionSetType> byId(final Long distid) {
          return (targetRoot, query, cb) -> cb.equal(targetRoot.<Long> get(JpaDistributionSetType_.id), distid);
      }
docs: {@link Specification} for retrieving {@link DistributionSetType} with
  given {@link DistributionSetType#getId()} including fetching the elements
  list.
  
  @param distid
  to search
  @return the {@link DistributionSet} {@link Specification}