org.hibernate.ejb.test.exception
Class Instrument

java.lang.Object
  extended by org.hibernate.ejb.test.exception.Instrument

@Entity
public class Instrument
extends Object


Nested Class Summary
static class Instrument.Type
           
 
Constructor Summary
Instrument()
           
 
Method Summary
 int getId()
           
 String getName()
           
 Instrument.Type getType()
           
 void prePersist()
           
 void setId(int id)
           
 void setName(String name)
           
 void setType(Instrument.Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instrument

public Instrument()
Method Detail

getId

public int getId()

setId

public void setId(int id)

getName

public String getName()

setName

public void setName(String name)

getType

public Instrument.Type getType()

setType

public void setType(Instrument.Type type)

prePersist

public void prePersist()


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