|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyMapper
The interface represent a mapper of a bean property to a corresponding
RegistryObject
property or relation.
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 . |
Method Detail |
---|
void init(RegistryBean bean, Property property) throws MappingException
bean
- property
-
MappingException
java.util.List<javax.xml.registry.infomodel.RegistryObject> toJaxr(PersistenceContext context, javax.xml.registry.infomodel.RegistryObject ro) throws javax.xml.registry.JAXRException, MappingException
RegistryObject
.
context
- ro
-
List
of RegistryObject
objects that have been
modified.
JAXRException,
- MappingException
javax.xml.registry.JAXRException
MappingException
void toBean(PersistenceContext context, javax.xml.registry.infomodel.RegistryObject ro) throws javax.xml.registry.JAXRException, MappingException
RegistryObject
to a bean.
context
- ro
-
JAXRException,
- MappingException
javax.xml.registry.JAXRException
MappingException
RegistryBean getBean() throws MappingException
MappingException
Property getProperty() throws MappingException
MappingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |