Indexed Property Mapping

Fields that need to be looked up or written to by indexed property are supported.

<mapping>
    <class-a>com.github.dozermapper.core.vo.Individuals</class-a>
    <class-b>com.github.dozermapper.core.vo.FlatIndividual</class-b>
    <field>
        <a>usernames[0]</a>
        <b>username1</b>
    </field>
    <field>
        <a>usernames[1]</a>
        <b>username2</b>
    </field>
    <field>
        <a>individual.username</a>
        <b>username2</b>
    </field>
    <field>
        <a>secondNames[1]</a>
        <b>secondName1</b>
    </field>
    <field>
        <a>secondNames[2]</a>
        <b>secondName2</b>
    </field>
    <field>
        <a>aliases.otherAliases[0]</a>
        <b>primaryAlias</b>
    </field>
</mapping>

results matching ""

    No results matching ""