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

All Superinterfaces:
BeanInfo
All Known Implementing Classes:
BackedDynamicRegistryBeanHandler

public interface BackedBeanInfo
extends BeanInfo

This interface extends the BeanInfo by providing access to the RegistryObject standing behind the bean. This interface should be implemented by "backed" registry bean proxies.

See Also:
BeanInfo

Method Summary
 java.util.Set<javax.xml.registry.infomodel.RegistryObject> getModifiedObjects()
          Retrieves all modified RegistryObject including the primary backed object.
 java.util.Set<PropertyMapper> getPropertiesToMap()
          Retrieves the PropertyMapper instances that need to be invoked by the BeanMapper working on this proxy.
 javax.xml.registry.infomodel.RegistryObject getRegistryObject()
          Retrieves the backed RegistryObject
 void setRegistryObject(javax.xml.registry.infomodel.RegistryObject ro)
          Sets the backed RegistryObject
 void toBean()
          Forces all property values to be loaded from the underlying registry object.
 void toJaxr()
          Forces all property values to be updated into the underlying registry object.
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.persistence.impl.BeanInfo
getBean, getKey, getPersistenceContext, isCreated, isDeleted, isModified, setBean, setCreated, setDeleted, setModified
 

Method Detail

getRegistryObject

javax.xml.registry.infomodel.RegistryObject getRegistryObject()
Retrieves the backed RegistryObject

Returns:
RegistryObject

setRegistryObject

void setRegistryObject(javax.xml.registry.infomodel.RegistryObject ro)
Sets the backed RegistryObject

Parameters:
ro -

getModifiedObjects

java.util.Set<javax.xml.registry.infomodel.RegistryObject> getModifiedObjects()
Retrieves all modified RegistryObject including the primary backed object.

Returns:
Set

getPropertiesToMap

java.util.Set<PropertyMapper> getPropertiesToMap()
Retrieves the PropertyMapper instances that need to be invoked by the BeanMapper working on this proxy. This is a workaround for handing modifications on collection properties. It is expected that the implementation for this method will return the property mappers for all collection properties that have been retrieved and possibly modified.

Returns:
Set

toBean

void toBean()
            throws MappingException,
                   javax.xml.registry.JAXRException
Forces all property values to be loaded from the underlying registry object.

Throws:
MappingException
javax.xml.registry.JAXRException

toJaxr

void toJaxr()
            throws MappingException,
                   javax.xml.registry.JAXRException
Forces all property values to be updated into the underlying registry object.

Throws:
MappingException
javax.xml.registry.JAXRException