/** * Sets the short message describing this status. * * @param reason short message describing this status or <code>null</code> to * reset */ public BatchStatus setReason(String reason) { setAttributeValue(REASON, reason); return this; }
/** * Sets the short message describing this status. * * @param reason short message describing this status or <code>null</code> to * reset */ public BatchStatus setReason(String reason) { setAttributeValue(REASON, reason); return this; }
/** * Sets the HTTP response code. * * @param code HTTP response code or <code>null</code> to reset */ public BatchStatus setCode(Integer code) { setAttributeValue(CODE, code); return this; }
/** * Sets the HTTP response code. * * @param code HTTP response code or <code>null</code> to reset */ public BatchStatus setCode(Integer code) { setAttributeValue(CODE, code); return this; }
/** * Sets the HTTP response code. * * @param code HTTP response code or <code>null</code> to reset */ public BatchStatus setCode(Integer code) { setAttributeValue(CODE, code); return this; }
/** * Sets the short message describing this status. * * @param reason short message describing this status or <code>null</code> to * reset */ public BatchStatus setReason(String reason) { setAttributeValue(REASON, reason); return this; }
/** * Sets the MIME type for the content of the error message contained in this * element. * * @param contentType MIME type for the content of the error message contained * in this element or <code>null</code> to reset */ public BatchStatus setContentType(ContentType contentType) { setAttributeValue(CONTENT_TYPE, (contentType == null) ? null : new ContentType(contentType.getMediaType())); return this; }
/** * Sets the MIME type for the content of the error message contained in this * element. * * @param contentType MIME type for the content of the error message contained * in this element or <code>null</code> to reset */ public BatchStatus setContentType(ContentType contentType) { setAttributeValue(CONTENT_TYPE, (contentType == null) ? null : new ContentType(contentType.getMediaType())); return this; }
/** * Sets the MIME type for the content of the error message contained in this * element. * * @param contentType MIME type for the content of the error message contained * in this element or <code>null</code> to reset */ public BatchStatus setContentType(ContentType contentType) { setAttributeValue(CONTENT_TYPE, (contentType == null) ? null : new ContentType(contentType.getMediaType())); return this; }