Issue #2361 fix style manager's jaxb context

Change-Id: I273c2361739e7860bd92a8c86d8f806b677f1f68

Former-commit-id: 328991e577 [formerly 2fddfc61fb8de88a67deb5b66a570ca548628ab3]
Former-commit-id: 16329ab06b
This commit is contained in:
Nate Jensen 2013-11-22 09:15:24 -06:00
parent 32cbfd6150
commit 2c61b8f4d6

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();