org.hibernate.test.annotations.manytomany
Class ManPk

java.lang.Object
  extended by org.hibernate.test.annotations.manytomany.ManPk
All Implemented Interfaces:
Serializable

@Embeddable
public class ManPk
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
ManPk()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFirstName()
           
 String getLastName()
           
 int hashCode()
           
 boolean isElder()
           
 void setElder(boolean elder)
           
 void setFirstName(String firstName)
           
 void setLastName(String lastName)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManPk

public ManPk()
Method Detail

isElder

public boolean isElder()

setElder

public void setElder(boolean elder)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

setFirstName

public void setFirstName(String firstName)

setLastName

public void setLastName(String lastName)

getFirstName

public String getFirstName()

getLastName

public String getLastName()


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