|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.persistence.mapper.impl.BaseBeanMapper<T>
public abstract class BaseBeanMapper<T extends RegistryBean>
Base Mapper implementation. Provided basic functionality needed by the mapper classes.
Constructor Summary | |
---|---|
BaseBeanMapper()
|
Method Summary | |
---|---|
java.lang.Class<T> |
getBeanClass()
Retrieves the class of the bean which this BeanMapper is parameterized with. |
T |
toBean(PersistenceContext context,
javax.xml.registry.infomodel.RegistryObject registryObject)
The method creates and populates an object of type T with
the data from a RegistryObject . |
java.util.List<javax.xml.registry.infomodel.RegistryObject> |
toJaxr(PersistenceContext context,
T t)
The method maps the information in the object of type T to
a list of registry objects. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseBeanMapper()
Method Detail |
---|
public java.lang.Class<T> getBeanClass()
BeanMapper
is parameterized with.
getBeanClass
in interface BeanMapper<T extends RegistryBean>
Class
public T toBean(PersistenceContext context, javax.xml.registry.infomodel.RegistryObject registryObject) throws MappingException, javax.xml.registry.JAXRException
T
with
the data from a RegistryObject
.
toBean
in interface BeanMapper<T extends RegistryBean>
MappingException
javax.xml.registry.JAXRException
public java.util.List<javax.xml.registry.infomodel.RegistryObject> toJaxr(PersistenceContext context, T t) throws MappingException, javax.xml.registry.JAXRException
T
to
a list of registry objects. Note the first object in the
List
is the primary mapped object. All following are
related objects like classifications, associations and etc.
toJaxr
in interface BeanMapper<T extends RegistryBean>
List
of RegistryObject
objects modified during
the mapping.
MappingException
javax.xml.registry.JAXRException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |