ch.elca.el4j.tests.remoting.jaxws.service.impl
Class LazyPersonImplJaxws
java.lang.Object
ch.elca.el4j.tests.remoting.jaxws.service.impl.LazyPersonImplJaxws
- All Implemented Interfaces:
- LazyPerson
@UsesJAXBContext(value=ch.elca.el4j.services.remoting.jaxb.hibernate.JAXBContextFactoryImpl.class)
public class LazyPersonImplJaxws
- extends Object
- implements LazyPerson
A service that returns Person objects that contain lazily loaded properties.
- Author:
- Stefan Wismer (SWI)
Recommended naming convention:
name = name of implemented core interface
serviceName = name of implemented core interface + "Service"
- File-location:
- LazyPersonImplJaxws
- Last check-in date:
- 2010-08-19 13:27:36 +0200 (Do, 19. Aug 2010) by swrelca for revision 4122
|
Field Summary |
private GenericHibernatePersonDaoInterface |
personDao
The Person Dao. |
private int |
personId
The id (key) of the person. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
personDao
private GenericHibernatePersonDaoInterface personDao
- The Person Dao.
personId
private int personId
- The id (key) of the person.
LazyPersonImplJaxws
public LazyPersonImplJaxws()
getPerson
public Person getPerson(boolean loadBrain)
- Specified by:
getPerson in interface LazyPerson
- Parameters:
loadBrain - should brain be loaded explicitly
- Returns:
- a Person object that contains lazily loaded properties
setPerson
public void setPerson(Person person)
- Specified by:
setPerson in interface LazyPerson
- Parameters:
person - the person to set
getPersonDao
public GenericHibernatePersonDaoInterface getPersonDao()
- Returns:
- the Person Dao
setPersonDao
public void setPersonDao(GenericHibernatePersonDaoInterface personDao)
- Parameters:
personDao - the Person Dao
Copyright © 2005-2011 ELCA. All Rights Reserved.