implements RepositoryItem
, MutableRepositoryItem
A MappingRepositoryItem
wraps a repository item and exposes properties as they are configured in a mapping file. The Integration Repository creates MappingRepositoryItems
automatically if it is configured with a mapping file. The property names that are exposed are the target names as defined in the mapping file. If a property’s include
attribute is false
in the mapping file, then that property is not a legal property of the MappingRepositoryItem
. For example, if the following mapping exists:
<item-descriptor repository-path="/atg/userprofiling/ProfileAdapterRepository" name="user" default-include="false"> <property name="firstName" include="true"/> <property name="lastName" include="true"/> <property name="id" target-name="dynamoId" include="true"/> </item-descriptor>
then the corresponding MappingRepositoryItem
would contain three properties: firstName
, lastName
, and dynamoId
.
See the Repository to XML Data Binding chapter.