com.softwareag.centrasite.appl.framework.persistence.impl
Interface BeanInfo

All Known Subinterfaces:
BackedBeanInfo
All Known Implementing Classes:
BackedDynamicRegistryBeanHandler, DynamicRegistryBeanHandler

public interface BeanInfo

This interface provides specific info about the bean used by the BeanPool.


Method Summary
 DynamicRegistryBean getBean()
          Returns the registry bean.
 Key getKey()
          Returns the objects key.
 PersistenceContext getPersistenceContext()
          Returns the pool, which created this bean.
 boolean isCreated()
          Returns, whether this is object has already been created in the registry.
 boolean isDeleted()
          Returns, whether the object is marked as deleted.
 boolean isModified()
          Returns, whether the object is modified.
 void setBean(DynamicRegistryBean pBean)
          Sets the registry bean.
 void setCreated(boolean created)
          Sets, whether the object is created or retrieved from the registry.
 void setDeleted(boolean pDeleted)
          Sets, whether the object is marked as deleted.
 void setModified(boolean pModified)
          Sets, whether the object is modified.
 

Method Detail

getKey

Key getKey()
Returns the objects key.


getPersistenceContext

PersistenceContext getPersistenceContext()
Returns the pool, which created this bean.


isModified

boolean isModified()
Returns, whether the object is modified.


setModified

void setModified(boolean pModified)
Sets, whether the object is modified.


isDeleted

boolean isDeleted()
Returns, whether the object is marked as deleted.


setDeleted

void setDeleted(boolean pDeleted)
Sets, whether the object is marked as deleted.


isCreated

boolean isCreated()
Returns, whether this is object has already been created in the registry.


setCreated

void setCreated(boolean created)
Sets, whether the object is created or retrieved from the registry.


getBean

DynamicRegistryBean getBean()
Returns the registry bean.


setBean

void setBean(DynamicRegistryBean pBean)
Sets the registry bean. This is used by the update method.