org.hibernate.test.annotations.entity
Class Car

java.lang.Object
  extended by org.hibernate.test.annotations.entity.Car
Direct Known Subclasses:
Peugot

@Entity
public class Car
extends Object

Uses a custom type which is defined in a subclass


Constructor Summary
Car()
           
 
Method Summary
 int getId()
           
 String getName()
           
 void setId(int id)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Car

public Car()
Method Detail

getId

public int getId()

setId

public void setId(int id)

getName

public String getName()

setName

public void setName(String name)


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.