Example #1
0
 /** @see Object#toString() */
 public String toString() {
   return Objects.identityToString(this)
       .append("[modelId=")
       .append(StringUtils.quote(modelId))
       .append("]")
       .toString();
 }
Example #2
0
 /** @see Object#hashCode() */
 public int hashCode() {
   int multiplier = 31;
   int hash = 7;
   hash = multiplier * hash + (Objects.nullSafeHashCode(modelId));
   return hash;
 }