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

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

import java.util.EnumSet;

public class EnumSetContainer implements TypeContainer<EnumSet<EnumSetContainer.Enum>> {
    public enum Enum { ONE, TWO }

    private EnumSet<Enum> instance;

    @Override
    public EnumSet<Enum> getInstance() {
        return instance;
    }

    @Override
    public void setInstance(EnumSet<Enum> instance) {
        this.instance = instance;
    }
}
