com.softwareag.centrasite.appl.framework.persistence.mapper.impl
Class SlotsMapper

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.persistence.mapper.impl.SlotsMapper
All Implemented Interfaces:
PropertyMapper

public class SlotsMapper
extends java.lang.Object

Property mapper for all slots of a registry objects.


Constructor Summary
SlotsMapper()
           
 
Method Summary
 RegistryBean getBean()
          Get the bean.
 Property getProperty()
          Get the property.
 void init(RegistryBean pBean, Property property)
          Initializes the mapper.
 void toBean(PersistenceContext context, javax.xml.registry.infomodel.RegistryObject ro)
          Maps data from RegistryObject to a bean.
 java.util.List<javax.xml.registry.infomodel.RegistryObject> toJaxr(PersistenceContext context, javax.xml.registry.infomodel.RegistryObject ro)
          Map property data from a bean to a RegistryObject.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlotsMapper

public SlotsMapper()
Method Detail

init

public void init(RegistryBean pBean,
                 Property property)
          throws MappingException
Description copied from interface: PropertyMapper
Initializes the mapper.

Specified by:
init in interface PropertyMapper
Throws:
MappingException
See Also:
PropertyMapper.init(RegistryBean, Property)

toBean

public void toBean(PersistenceContext context,
                   javax.xml.registry.infomodel.RegistryObject ro)
            throws javax.xml.registry.JAXRException
Description copied from interface: PropertyMapper
Maps data from RegistryObject to a bean.

Throws:
javax.xml.registry.JAXRException

toJaxr

public java.util.List<javax.xml.registry.infomodel.RegistryObject> toJaxr(PersistenceContext context,
                                                                          javax.xml.registry.infomodel.RegistryObject ro)
                                                                   throws javax.xml.registry.JAXRException
Description copied from interface: PropertyMapper
Map property data from a bean to a RegistryObject.

Returns:
List of RegistryObject objects that have been modified.
Throws:
javax.xml.registry.JAXRException

getBean

public RegistryBean getBean()
                     throws MappingException
Description copied from interface: PropertyMapper
Get the bean.

Specified by:
getBean in interface PropertyMapper
Returns:
the bean
Throws:
MappingException
See Also:
PropertyMapper.getBean()

getProperty

public Property getProperty()
                     throws MappingException
Description copied from interface: PropertyMapper
Get the property.

Specified by:
getProperty in interface PropertyMapper
Returns:
the property
Throws:
MappingException
See Also:
PropertyMapper.getProperty()