org.openfjord.business.entities
Class SurveyOwnerBean

java.lang.Object
  |
  +--org.openfjord.business.entities.SurveyOwnerBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable

public abstract class SurveyOwnerBean
extends java.lang.Object
implements javax.ejb.EntityBean

Title: openFJORD

Description: open Flexible Java Online Research Designer

Copyright:

Company: University of Muenster

Version:
1.0
Author:
Ingo Düppe
See Also:
Serialized Form

Constructor Summary
SurveyOwnerBean()
           
 
Method Summary
 void ejbActivate()
           
 SurveyOwnerPK ejbCreate()
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate()
           
 void ejbRemove()
           
 void ejbStore()
           
 SurveyOwner getData()
          returns an value object with the data of the bean
abstract  java.lang.String getName()
           
abstract  java.lang.String getOwnerId()
           
abstract  java.util.Collection getSurveys()
           
 void setData(SurveyOwner surveyOwner)
          Updates the data of the bean with the passed data of the value object
 void setEntityContext(javax.ejb.EntityContext entityContext)
           
abstract  void setName(java.lang.String name)
           
abstract  void setOwnerId(java.lang.String ownerId)
           
abstract  void setSurveys(java.util.Collection surveys)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurveyOwnerBean

public SurveyOwnerBean()
Method Detail

ejbCreate

public SurveyOwnerPK ejbCreate()
                        throws javax.ejb.CreateException
javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate()
                   throws javax.ejb.CreateException
javax.ejb.CreateException

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException
Specified by:
ejbRemove in interface javax.ejb.EntityBean
javax.ejb.RemoveException

setOwnerId

public abstract void setOwnerId(java.lang.String ownerId)

setName

public abstract void setName(java.lang.String name)

setSurveys

public abstract void setSurveys(java.util.Collection surveys)

getOwnerId

public abstract java.lang.String getOwnerId()

getName

public abstract java.lang.String getName()

getSurveys

public abstract java.util.Collection getSurveys()

ejbLoad

public void ejbLoad()
Specified by:
ejbLoad in interface javax.ejb.EntityBean

ejbStore

public void ejbStore()
Specified by:
ejbStore in interface javax.ejb.EntityBean

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.EntityBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.EntityBean

unsetEntityContext

public void unsetEntityContext()
Specified by:
unsetEntityContext in interface javax.ejb.EntityBean

setEntityContext

public void setEntityContext(javax.ejb.EntityContext entityContext)
Specified by:
setEntityContext in interface javax.ejb.EntityBean

getData

public SurveyOwner getData()
returns an value object with the data of the bean

Returns:
value object

setData

public void setData(SurveyOwner surveyOwner)
Updates the data of the bean with the passed data of the value object

Parameters:
surveyOwner - data object


openFJORD Copyright © 2003 University of Muenster.