de.apage4u.database.bean
Class DataBean
java.lang.Object
de.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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
DataBean
public DataBean()
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.