org.hibernate.test.instrument.domain
Class OneToOneProxy

java.lang.Object
  extended by org.hibernate.test.instrument.domain.OneToOneProxy

public class OneToOneProxy
extends Object


Constructor Summary
OneToOneProxy()
           
OneToOneProxy(String name)
           
 
Method Summary
 EntityWithOneToOnes getEntity()
           
 Long getEntityId()
           
 String getName()
           
 void setEntity(EntityWithOneToOnes entity)
           
 void setEntityId(Long entityId)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneToOneProxy

public OneToOneProxy()

OneToOneProxy

public OneToOneProxy(String name)
Method Detail

getEntityId

public Long getEntityId()
Returns:
Returns the id.

setEntityId

public void setEntityId(Long entityId)
Parameters:
entityId - The id to set.

getName

public String getName()
Returns:
Returns the name.

setName

public void setName(String name)
Parameters:
name - The name to set.

getEntity

public EntityWithOneToOnes getEntity()

setEntity

public void setEntity(EntityWithOneToOnes entity)


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