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

import javax.json.bind.annotation.JsonbTypeDeserializer;
import javax.json.bind.annotation.JsonbTypeSerializer;

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

public class SimpleAnnotatedSerializedContainer implements TypeContainer<SimpleContainer> {
    @JsonbTypeSerializer(SimpleContainerSerializer.class)
    @JsonbTypeDeserializer(SimpleContainerDeserializer.class)
    private SimpleContainer instance;

    @Override
    public SimpleContainer getInstance() {
        return instance;
    }

    @Override
    public void setInstance(SimpleContainer instance) {
        this.instance = instance;
    }
}
