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

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

public class PropertyEntryCMP
extends PropertyEntryEJB
implements javax.ejb.EntityBean

CMP layer for os.PropertyEntry.

See Also:
Serialized Form

Field Summary
 long entityId
           
 java.lang.String entityName
           
 java.lang.Long id
           
 java.lang.String key
           
 int type
           
 
Constructor Summary
PropertyEntryCMP()
           
 
Method Summary
 void ejbActivate()
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 void ejbStore()
           
 long getEntityId()
           
 java.lang.String getEntityName()
           
 java.lang.Long getId()
           
 java.lang.String getKey()
           
 int getType()
           
 boolean isModified()
           
protected  void makeClean()
           
protected  void makeDirty()
           
 void setEntityContext(javax.ejb.EntityContext ctx)
           
 void setEntityId(long entityId)
           
 void setEntityName(java.lang.String entityName)
           
 void setId(java.lang.Long id)
           
 void setKey(java.lang.String key)
           
 void setType(int type)
           
 void unsetEntityContext()
           
 
Methods inherited from class com.opensymphony.module.propertyset.ejb.types.PropertyEntryEJB
ejbCreate, ejbPostCreate, getValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public java.lang.Long id

entityName

public java.lang.String entityName

entityId

public long entityId

type

public int type

key

public java.lang.String key
Constructor Detail

PropertyEntryCMP

public PropertyEntryCMP()
Method Detail

getId

public java.lang.Long getId()
Overrides:
getId in class PropertyEntryEJB

setId

public void setId(java.lang.Long id)
Overrides:
setId in class PropertyEntryEJB

getEntityName

public java.lang.String getEntityName()
Overrides:
getEntityName in class PropertyEntryEJB

setEntityName

public void setEntityName(java.lang.String entityName)
Overrides:
setEntityName in class PropertyEntryEJB

getEntityId

public long getEntityId()
Overrides:
getEntityId in class PropertyEntryEJB

setEntityId

public void setEntityId(long entityId)
Overrides:
setEntityId in class PropertyEntryEJB

getType

public int getType()
Overrides:
getType in class PropertyEntryEJB

setType

public void setType(int type)
Overrides:
setType in class PropertyEntryEJB

getKey

public java.lang.String getKey()
Overrides:
getKey in class PropertyEntryEJB

setKey

public void setKey(java.lang.String key)
Overrides:
setKey in class PropertyEntryEJB

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 PropertyEntryEJB

ejbStore

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

ejbActivate

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

ejbPassivate

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

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
Specified by:
setEntityContext in interface javax.ejb.EntityBean
Overrides:
setEntityContext in class PropertyEntryEJB

unsetEntityContext

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

ejbRemove

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

See www.opensymphony.com for more information.