@Override public boolean equals(Object obj) { if (obj == this) { return true; } else if (obj == null || !(obj instanceof StatusDetail)) { return false; } else { StatusDetail objStatusDetail = (StatusDetail) obj; return ListUtil.equalsAllowNulls( this.getMissingAttributeDetails(), objStatusDetail.getMissingAttributeDetails()); } }
@Override public String toString() { StringBuilder stringBuilder = new StringBuilder("{"); Collection<MissingAttributeDetail> listMissingAttributeDetail = this.getMissingAttributeDetails(); if (listMissingAttributeDetail.size() > 0) { stringBuilder.append("missingAttributeDetails=["); stringBuilder.append(ListUtil.toString(listMissingAttributeDetail)); } stringBuilder.append('}'); return stringBuilder.toString(); }