org.hibernate.test.hql
Class CompositeIdEntity
java.lang.Object
org.hibernate.test.hql.CompositeIdEntity
- All Implemented Interfaces:
- Serializable
public class CompositeIdEntity
- extends Object
- implements Serializable
- See Also:
- Serialized Form
CompositeIdEntity
public CompositeIdEntity()
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.