org.hibernate.test.orphan.one2one.fk.composite
Class EmployeeInfo.Id

java.lang.Object
  extended by org.hibernate.test.orphan.one2one.fk.composite.EmployeeInfo.Id
All Implemented Interfaces:
Serializable
Enclosing class:
EmployeeInfo

public static class EmployeeInfo.Id
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
EmployeeInfo.Id()
           
EmployeeInfo.Id(Long companyId, Long personId)
           
 
Method Summary
 boolean equals(Object o)
           
 Long getCompanyId()
           
 Long getPersonId()
           
 int hashCode()
           
 void setCompanyId(Long companyId)
           
 void setPersonId(Long personId)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmployeeInfo.Id

public EmployeeInfo.Id()

EmployeeInfo.Id

public EmployeeInfo.Id(Long companyId,
                       Long personId)
Method Detail

getCompanyId

public Long getCompanyId()

setCompanyId

public void setCompanyId(Long companyId)

getPersonId

public Long getPersonId()

setPersonId

public void setPersonId(Long personId)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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