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

java.lang.Object
  extended bycom.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

setEntityId

public abstract void setEntityId(long entityId)

getEntityId

public abstract long getEntityId()

setEntityName

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

getEntityName

public abstract java.lang.String getEntityName()

setId

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

getId

public abstract java.lang.Long getId()

setKey

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

getKey

public abstract java.lang.String getKey()

setType

public abstract void setType(int type)

getType

public abstract int getType()

setEntityContext

public void setEntityContext(javax.ejb.EntityContext context)
Specified by:
setEntityContext in interface javax.ejb.EntityBean

setValue

public void setValue(java.io.Serializable value)

getValue

public java.io.Serializable getValue()

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.EntityBean

ejbCreate

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

ejbLoad

public void ejbLoad()
Specified by:
ejbLoad in interface javax.ejb.EntityBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.EntityBean

ejbPostCreate

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

ejbRemove

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

ejbStore

public void ejbStore()
Specified by:
ejbStore in interface javax.ejb.EntityBean

unsetEntityContext

public void unsetEntityContext()
Specified by:
unsetEntityContext in interface javax.ejb.EntityBean

See www.opensymphony.com for more information.

Copyright 2000-2005 - OpenSymphony