Merge "Issue #2361 fix style manager's jaxb context" into development

Former-commit-id: 49ce4d4be3 [formerly 9de7c7f434 [formerly 0b018d8cd8f9738eb11897f07a83a5e370dcbcac]]
Former-commit-id: 9de7c7f434
Former-commit-id: 38fdf1edcf
This commit is contained in:
Nate Jensen 2013-11-22 10:08:13 -06:00 committed by Gerrit Code Review
commit 591dcce82e

View file

@ -32,7 +32,8 @@ import com.raytheon.uf.common.style.StyleException;
*
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* Jul 26, 2012 mschenke Initial creation
* Jul 26, 2012 mschenke Initial creation
* Nov 22, 2013 2361 njensen Added no-arg constructor
*
* </pre>
*
@ -42,13 +43,22 @@ import com.raytheon.uf.common.style.StyleException;
public class VIIRSDataRecordCriteria extends MatchCriteria {
private final String parameter;
private String parameter;
private final Double wavelength;
private Double wavelength;
private final String channelType;
private String channelType;
private final String region;
private String region;
/**
* Constructor that exists to keep the StyleManager's JAXBManager happy.
* JAXB will throw an error when introspecting this class if there's not a
* no-arg constructor.
*/
protected VIIRSDataRecordCriteria() {
}
public VIIRSDataRecordCriteria(VIIRSDataRecord record) {
this.parameter = record.getParameter();