/** * <p> * The list of HIT elements returned by the query. * </p> * * @param hITs * The list of HIT elements returned by the query. * @return Returns a reference to this object so that method calls can be chained together. */ public ListHITsForQualificationTypeResult withHITs(java.util.Collection<HIT> hITs) { setHITs(hITs); return this; }
/** * <p> * The list of HIT elements returned by the query. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setHITs(java.util.Collection)} or {@link #withHITs(java.util.Collection)} if you want to override the * existing values. * </p> * * @param hITs * The list of HIT elements returned by the query. * @return Returns a reference to this object so that method calls can be chained together. */ public ListHITsForQualificationTypeResult withHITs(HIT... hITs) { if (this.hITs == null) { setHITs(new java.util.ArrayList<HIT>(hITs.length)); } for (HIT ele : hITs) { this.hITs.add(ele); } return this; }
listHITsForQualificationTypeResult.setHITs(new ListUnmarshaller<HIT>(HITJsonUnmarshaller.getInstance()).unmarshall(context));