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

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

public class ClassificationAttributePropertyMapper
extends java.lang.Object

Property mapper class for handling classifications defined by the ClassificationAttribute property. Extends ClassificationMapper by adding attribute specific processing like adding special slot to the mapped associations.


Constructor Summary
ClassificationAttributePropertyMapper()
           
 
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

ClassificationAttributePropertyMapper

public ClassificationAttributePropertyMapper()
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,
                                                                          MappingException
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
MappingException

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