blob: 048004cc21806f9680a3720a9c22b337e30811ef [file] [log] [blame]
/*
* Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2015 Karsten Wutzke. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0,
* or the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/
// Contributors:
// 01/04/2011-2.3 Guy Pelletier for Karsten Wutzke
// - 330628: @PrimaryKeyJoinColumn(...) is not working equivalently to @JoinColumn(..., insertable = false, updatable = false)
package org.eclipse.persistence.testing.models.jpa.ddlgeneration;
import java.io.Serializable;
public class StateId implements Serializable
{
private String countryCode;
private String isoCode;
public StateId()
{
}
public StateId(String countryCode, String isoCode)
{
this.countryCode = countryCode;
this.isoCode = isoCode;
}
public String getCountryCode()
{
return countryCode;
}
public void setCountryCode(String countryCode)
{
this.countryCode = countryCode;
}
public String getIsoCode()
{
return isoCode;
}
public void setIsoCode(String isoCode)
{
this.isoCode = isoCode;
}
}