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

public class SimpleContainer {
	public String stringInstance;

	public String getStringInstance() {
		return stringInstance;
	}

	public void setStringInstance(String stringInstance) {
		this.stringInstance = stringInstance;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!(obj instanceof SimpleContainer))
			return false;
		SimpleContainer that = (SimpleContainer) obj;
		return stringInstance != null ? stringInstance.equals(that.stringInstance) : that.stringInstance == null;
	}
}
