/*
 * 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.instantiation.model;

import javax.json.bind.annotation.JsonbCreator;

public class MultipleCreatorsContainer {
    private String stringInstance;
    private Integer integerInstance;
    private float floatInstance;

    @JsonbCreator
    public MultipleCreatorsContainer(String stringInstance, Integer integerInstance) {
        this.stringInstance = stringInstance;
        this.integerInstance = integerInstance;
    }

    @JsonbCreator
    public MultipleCreatorsContainer(Integer integerInstance, float floatInstance) {
        this.integerInstance = integerInstance;
        this.floatInstance = floatInstance;
    }
}
