org.hibernate.test.annotations.manytoonewithformula
Class Model

java.lang.Object
  extended by org.hibernate.test.annotations.manytoonewithformula.Model

@Entity
public class Model
extends Object


Constructor Summary
Model()
           
Model(ModelId id, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 ModelId getId()
           
 String getName()
           
 int hashCode()
           
 void setId(ModelId id)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Model

public Model(ModelId id,
             String name)

Model

public Model()
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getId

public ModelId getId()

setId

public void setId(ModelId id)

getName

public String getName()

setName

public void setName(String name)

toString

public String toString()
Overrides:
toString in class Object


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