/*
 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/*
 * $Id$
 */

package com.sun.ts.tests.jsonb.customizedmapping.numberformat.model;

import javax.json.bind.annotation.JsonbNumberFormat;

import com.sun.ts.tests.jsonb.TypeContainer;

public class AccessorCustomizedDoubleContainer implements TypeContainer<Double> {
    private Double instance;

    @Override
    @JsonbNumberFormat(value = "###,###.##")
    public Double getInstance() {
        return instance;
    }

    @Override
    @JsonbNumberFormat(locale = "fr")
    public void setInstance(Double instance) {
        this.instance = instance;
    }
}
