org.hibernate.test.typedonetoone
Class AddressId

java.lang.Object
  extended by org.hibernate.test.typedonetoone.AddressId
All Implemented Interfaces:
Serializable

public class AddressId
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
AddressId()
           
AddressId(String type, String customerId)
           
 
Method Summary
 boolean equals(Object other)
           
 String getCustomerId()
           
 String getType()
           
 int hashCode()
           
 void setCustomerId(String customerId)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressId

public AddressId(String type,
                 String customerId)

AddressId

public AddressId()
Method Detail

getType

public String getType()

setType

public void setType(String type)

getCustomerId

public String getCustomerId()

setCustomerId

public void setCustomerId(String customerId)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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