com.submersion.jspshop.ejb
Class PropertyTypeBean

java.lang.Object
  |
  +--com.submersion.jspshop.ejb.PropertyTypeBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable

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

Implementation of the PropertyType Entity Bean using Container Managed Persistance (CMP)

Version:
$Revision$ Date Created: August 22, 2001 Last changed: $Date$ Changed by: $Author$
Author:
Jeff Davey (jeffdavey@submersion.com)
See Also:
PropertyType, PropertyTypeHome, Serialized Form

Field Summary
 java.lang.Long propertyID
           
 java.lang.Long propertyTypeID
           
 java.lang.Long typeID
           
 
Constructor Summary
PropertyTypeBean()
           
 
Method Summary
 void ejbActivate()
           
 java.lang.Long ejbCreate()
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate()
           
 void ejbRemove()
           
 void ejbStore()
           
 java.lang.Long getPropertyID()
           
 java.lang.Long getPropertyTypeID()
           
 java.lang.Long getTypeID()
           
 void setEntityContext(javax.ejb.EntityContext ctx)
           
 void setPropertyID(java.lang.Long propertyID)
           
 void setTypeID(java.lang.Long typeID)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeID

public java.lang.Long typeID

propertyTypeID

public java.lang.Long propertyTypeID

propertyID

public java.lang.Long propertyID
Constructor Detail

PropertyTypeBean

public PropertyTypeBean()
Method Detail

getPropertyTypeID

public java.lang.Long getPropertyTypeID()

getTypeID

public java.lang.Long getTypeID()

setTypeID

public void setTypeID(java.lang.Long typeID)

getPropertyID

public java.lang.Long getPropertyID()

setPropertyID

public void setPropertyID(java.lang.Long propertyID)

ejbCreate

public java.lang.Long ejbCreate()
                         throws javax.naming.NamingException,
                                java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException

ejbPostCreate

public void ejbPostCreate()

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