org.hibernate.test.hql
Class CompositeIdEntity

java.lang.Object
  extended by org.hibernate.test.hql.CompositeIdEntity
All Implemented Interfaces:
Serializable

public class CompositeIdEntity
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
CompositeIdEntity()
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getKey1()
           
 String getKey2()
           
 String getSomeProperty()
           
 int hashCode()
           
 void setKey1(Long key1)
           
 void setKey2(String key2)
           
 void setSomeProperty(String someProperty)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeIdEntity

public CompositeIdEntity()
Method Detail

getKey1

public Long getKey1()

setKey1

public void setKey1(Long key1)

getKey2

public String getKey2()

setKey2

public void setKey2(String key2)

getSomeProperty

public String getSomeProperty()

setSomeProperty

public void setSomeProperty(String someProperty)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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