de.apage4u.database.bean
Class DataBean

java.lang.Object
  extended byde.apage4u.database.bean.DataBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable

public class DataBean
extends java.lang.Object
implements javax.ejb.EntityBean

This class contains the implementation for the methods specified in the home and remote interfaces for the "Data" EJB

See Also:
Serialized Form

Field Summary
 java.lang.String artist
           
 java.lang.Integer id
           
 java.lang.String notes
           
 java.lang.String title
           
 java.lang.String type
           
 
Constructor Summary
DataBean()
           
 
Method Summary
 void ejbActivate()
           
 java.lang.Integer ejbCreate(java.lang.Integer _id)
          Create an instance of a Data.
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(java.lang.Integer id)
          Called when the object has been instantiated; does nothing in this example
 void ejbRemove()
           
 void ejbStore()
           
 java.lang.String getArtist()
           
 java.lang.Integer getId()
           
 java.lang.String getNotes()
           
 java.lang.String getTitle()
           
 java.lang.String getType()
           
 void setArtist(java.lang.String _artist)
           
 void setEntityContext(javax.ejb.EntityContext ctx)
           
 void setId(java.lang.Integer _id)
           
 void setNotes(java.lang.String _notes)
           
 void setTitle(java.lang.String _title)
           
 void setType(java.lang.String _type)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public java.lang.Integer id

title

public java.lang.String title

artist

public java.lang.String artist

type

public java.lang.String type

notes

public java.lang.String notes
Constructor Detail

DataBean

public DataBean()
Method Detail

ejbCreate

public java.lang.Integer ejbCreate(java.lang.Integer _id)
Create an instance of a Data. Note that this method returns null because the real creation is managed by the EJB container.


ejbPostCreate

public void ejbPostCreate(java.lang.Integer id)
Called when the object has been instantiated; does nothing in this example


getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String _title)

getId

public java.lang.Integer getId()

setId

public void setId(java.lang.Integer _id)

getArtist

public java.lang.String getArtist()

setArtist

public void setArtist(java.lang.String _artist)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String _type)

getNotes

public java.lang.String getNotes()

setNotes

public void setNotes(java.lang.String _notes)

setEntityContext

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

unsetEntityContext

public void unsetEntityContext()
Specified by:
unsetEntityContext 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

ejbLoad

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

ejbStore

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

ejbRemove

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


Copyright © 2004 www.apage4u.de. All Rights Reserved.