com.submersion.jspshop.ejb
Class TypeValueBean
java.lang.Object
|
+--com.submersion.jspshop.ejb.TypeValueBean
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable
- public class TypeValueBean
- extends java.lang.Object
- implements javax.ejb.EntityBean
Implementation of the TypeValue entity bean, using container managed persistance (CMP).
This bean belongs to a property type, which has a property name.
Basically links the values to the Object
- See Also:
TypeValue
,
TypeValueHome
, Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeValueBean
public TypeValueBean()
getTypeValueID
public java.lang.Long getTypeValueID()
- Returns the primary key of the bean.
getValueID
public java.lang.Long getValueID()
- Returns the property value ID
setValueID
public void setValueID(java.lang.Long valueID)
- sets the property value ID, should only be used during creation.
- Parameters:
valueID
-
getValue
public java.lang.String getValue()
- Returns the string value of the property type
setValue
public void setValue(java.lang.String value)
- sets the string value of the property type
- Parameters:
value
-
getTypeID
public java.lang.Long getTypeID()
setTypeID
public void setTypeID(java.lang.Long typeID)
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