org.hibernate.test.annotations.idclassgeneratedvalue
Class Simple

java.lang.Object
  extended by org.hibernate.test.annotations.idclassgeneratedvalue.Simple
All Implemented Interfaces:
Serializable

@Entity
public class Simple
extends Object
implements Serializable

A Simple entity class.

See Also:
Serialized Form

Constructor Summary
Simple()
           
Simple(Long id1, Long id2, int quantity)
           
 
Method Summary
 Long getId1()
           
 Long getId2()
           
 int getQuantity()
           
 void setQuantity(int quantity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Simple

public Simple()

Simple

public Simple(Long id1,
              Long id2,
              int quantity)
Method Detail

getId1

public Long getId1()

getId2

public Long getId2()

getQuantity

public int getQuantity()

setQuantity

public void setQuantity(int quantity)


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