public interface BeanInfo
BeanPool
.Modifier and Type | Method and Description |
---|---|
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.
|
PersistenceContext getPersistenceContext()
PersistenceContext
instanceboolean isModified()
true
if the object is modified and false
otherwisevoid setModified(boolean pModified)
pModified
- If true
the object will be set to modifiedboolean isDeleted()
true
if the object is marked as deleted and false
otherwisevoid setDeleted(boolean pDeleted)
pDeleted
- If true
the object will be marked as deletedboolean isCreated()
true
if the object has already been created in the registry and false
otherwisevoid setCreated(boolean created)
created
- If true
, the object is created in the registry and if false
,
the object has been retrieved from the registry and is already availableDynamicRegistryBean getBean()
DynamicRegistryBean
instancevoid setBean(DynamicRegistryBean pBean)
pBean
- the DynamicRegistryBean
instance to set