/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.jpamodelgen.test.accesstype; import javax.persistence.Embeddable; /** * @author Emmanuel Bernard */ @Embeddable public class Country { String name; String iso2Code; String nonPersistent; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getIso2Code() { return iso2Code; } public void setIso2Code(String iso2Code) { this.iso2Code = iso2Code; } }