com.opensymphony.module.propertyset.ejb.types
Class PropertyEntryEJB

java.lang.Object
  |
  +--com.opensymphony.module.propertyset.ejb.types.PropertyEntryEJB
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable
Direct Known Subclasses:
PropertyEntryCMP

public abstract class PropertyEntryEJB
extends java.lang.Object
implements javax.ejb.EntityBean

See Also:
Serialized Form

Constructor Summary
PropertyEntryEJB()
           
 
Method Summary
 void ejbActivate()
           
 java.lang.Long ejbCreate(java.lang.String entityName, long entityId, int type, java.lang.String key)
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(java.lang.String entityName, long entityId, int type, java.lang.String key)
           
 void ejbRemove()
           
 void ejbStore()
           
abstract  long getEntityId()
           
abstract  java.lang.String getEntityName()
           
abstract  java.lang.Long getId()
           
abstract  java.lang.String getKey()
           
abstract  int getType()
           
 java.io.Serializable getValue()
           
 void setEntityContext(javax.ejb.EntityContext context)
           
abstract  void setEntityId(long entityId)
           
abstract  void setEntityName(java.lang.String entityName)
           
abstract  void setId(java.lang.Long id)
           
abstract  void setKey(java.lang.String key)
           
abstract  void setType(int type)
           
 void setValue(java.io.Serializable value)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyEntryEJB

public PropertyEntryEJB()
Method Detail

getId

public abstract java.lang.Long getId()

setId

public abstract void setId(java.lang.Long id)

getEntityName

public abstract java.lang.String getEntityName()

setEntityName

public abstract void setEntityName(java.lang.String entityName)

getEntityId

public abstract long getEntityId()

setEntityId

public abstract void setEntityId(long entityId)

getType

public abstract int getType()

setType

public abstract void setType(int type)

getKey

public abstract java.lang.String getKey()

setKey

public abstract void setKey(java.lang.String key)

ejbCreate

public java.lang.Long ejbCreate(java.lang.String entityName,
                                long entityId,
                                int type,
                                java.lang.String key)
                         throws javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(java.lang.String entityName,
                          long entityId,
                          int type,
                          java.lang.String key)
                   throws javax.ejb.CreateException

getValue

public java.io.Serializable getValue()
                              throws java.rmi.RemoteException

setValue

public void setValue(java.io.Serializable value)
              throws java.rmi.RemoteException

ejbRemove

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

setEntityContext

public void setEntityContext(javax.ejb.EntityContext context)
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

See www.opensymphony.com for more information.