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

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

public class SlotMapper
extends java.lang.Object

Property mapper for slots.


Constructor Summary
SlotMapper()
           
 
Method Summary
 RegistryBean getBean()
          Get the bean.
 Property getProperty()
          Get the property.
 void init(RegistryBean bean, 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

SlotMapper

public SlotMapper()
Method Detail

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()

init

public void init(RegistryBean bean,
                 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)