com.opensymphony.module.propertyset.ejb.types
Class PropertyDateCMP
java.lang.Object
|
+--com.opensymphony.module.propertyset.ejb.types.DateEntityEJB
|
+--com.opensymphony.module.propertyset.ejb.types.PropertyDateCMP
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable
- public class PropertyDateCMP
- extends DateEntityEJB
- implements javax.ejb.EntityBean
CMP layer for os.PropertyDate.
- Version:
- XDOCLET 1.1.1
- Author:
- XDOCLET 1.1.1
- See Also:
com.opensymphony.module.propertyset.ejb.AbstractValueEntityEJB
,
com.opensymphony.module.propertyset.ejb.ValueEntity
,
PropertyStoreEJB
, Serialized Form
Field Summary |
java.sql.Timestamp |
date
|
java.lang.Long |
id
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
public java.lang.Long id
date
public java.sql.Timestamp date
PropertyDateCMP
public PropertyDateCMP()
getId
public java.lang.Long getId()
- Overrides:
getId
in class DateEntityEJB
setId
public void setId(java.lang.Long id)
- Overrides:
setId
in class DateEntityEJB
getDate
public java.sql.Timestamp getDate()
- Overrides:
getDate
in class DateEntityEJB
setDate
public void setDate(java.sql.Timestamp date)
- Overrides:
setDate
in class DateEntityEJB
getValue
public java.sql.Timestamp getValue(int type)
- Return Date
- Overrides:
getValue
in class DateEntityEJB
setValue
public void setValue(int type,
java.sql.Timestamp value)
- Set the value. Only java.util.Timestamp can be supplied.
- Overrides:
setValue
in class DateEntityEJB
isModified
public boolean isModified()
makeDirty
protected void makeDirty()
makeClean
protected void makeClean()
ejbLoad
public void ejbLoad()
- Specified by:
ejbLoad
in interface javax.ejb.EntityBean
- Overrides:
ejbLoad
in class DateEntityEJB
ejbStore
public void ejbStore()
- Specified by:
ejbStore
in interface javax.ejb.EntityBean
- Overrides:
ejbStore
in class DateEntityEJB
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate
in interface javax.ejb.EntityBean
- Overrides:
ejbActivate
in class DateEntityEJB
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate
in interface javax.ejb.EntityBean
- Overrides:
ejbPassivate
in class DateEntityEJB
setEntityContext
public void setEntityContext(javax.ejb.EntityContext ctx)
- Specified by:
setEntityContext
in interface javax.ejb.EntityBean
- Overrides:
setEntityContext
in class DateEntityEJB
unsetEntityContext
public void unsetEntityContext()
- Specified by:
unsetEntityContext
in interface javax.ejb.EntityBean
- Overrides:
unsetEntityContext
in class DateEntityEJB
ejbRemove
public void ejbRemove()
throws javax.ejb.RemoveException
- Specified by:
ejbRemove
in interface javax.ejb.EntityBean
- Overrides:
ejbRemove
in class DateEntityEJB