org.hibernate.test.annotations.manytoone
Class Color
java.lang.Object
org.hibernate.test.annotations.manytoone.Color
@Entity
public class Color
- extends Object
Color showing a surrogate key and a unique constraint to ensure business rule
Constructor Summary |
Color()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Color
public Color()
getId
public Integer getId()
setId
public void setId(Integer id)
getName
public String getName()
setName
public void setName(String name)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.