org.hibernate.test.annotations.idclassgeneratedvalue
Class Multiple

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

@Entity
public class Multiple
extends Object
implements Serializable

An Entity containing a composite key with two generated values.

See Also:
Serialized Form

Constructor Summary
Multiple()
           
Multiple(Long id3, int quantity)
           
 
Method Summary
 Long getId1()
           
 Long getId2()
           
 Long getId3()
           
 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

Multiple

public Multiple()

Multiple

public Multiple(Long id3,
                int quantity)
Method Detail

getId1

public Long getId1()

getId2

public Long getId2()

getId3

public Long getId3()

getQuantity

public int getQuantity()

setQuantity

public void setQuantity(int quantity)


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