/*
* 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>.
*/
//$Id$
package org.hibernate.test.annotations.access;
import javax.persistence.MappedSuperclass;
import org.hibernate.annotations.AccessType;
/**
* @author Emmanuel Bernard
*/
@MappedSuperclass
@AccessType("property")
public class Woody extends Thingy {
private String color;
private String name;
public boolean isAlive; //shouldn't be persistent
public String getColor() {
return color;
}
public void setColor(String color) {
this.color = color;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}