org.hibernate.test.annotations.idclassgeneratedvalue
Class Simple2

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

@Entity
public class Simple2
extends Object
implements Serializable

The Simple entity redone with a generated value id1 }as part of its composite pk

See Also:
Serialized Form

Constructor Summary
Simple2()
           
Simple2(Long id, 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

Simple2

public Simple2()

Simple2

public Simple2(Long id,
               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.