Hi all,
I have a mapping file:

....

  <!-- mapping descritpion for RegisterableImplVbsf -->
  <class  name="DE.data_experts.profi.util.registratur.business.impl.RegisterableImplVbsf"
          extends="DE.data_experts.profi.util.dokument.business.impl.DokumentImplVbsf">

    <field name="entry" type="DE.data_experts.profi.util.registratur.business.impl.RegistryEntryImplVbsf">
      <bind-xml name="entry" node="element"/>
    </field>

  </class>


  <!-- mapping for RegistryEntryImplVbsf -->
  <class  name="DE.data_experts.profi.util.registratur.business.impl.RegistryEntryImplVbsf">

    <field name="registrationNumber" type="long" get-method="getExpRegistrationNumber">
      <bind-xml name="registrationNumber" node="element"/>
    </field>
    <field name="jahr" type="integer" get-method="getExpJahr">
      <bind-xml name="jahr" node="element"/>
    </field>
    <field name="nummer" type="string" get-method="getExpNummer">
      <bind-xml name="nummer" node="element"/>
    </field>
    <field name="bezeichnung" type="string" get-method="getExpBezeichnung">
      <bind-xml name="bezeichnung" node="element"/>
    </field>
    <field name="zustand" type="long" get-method="getExpZustand">
      <bind-xml name="zustand" node="element"/>
    </field>
    <field name="amt" type="long" get-method="getExpAmt">
      <bind-xml name="amt" node="element"/>
    </field>
    <field name="owner" type="string" get-method="getExpOwner">
      <bind-xml name="owner" node="element"/>
    </field>
    <field name="creationTime" type="date" get-method="creationTime">
      <bind-xml name="creationTime" node="element"/>
    </field>

  </class>

....

and a marshal output:

<DE.data_experts.profi.profilcs.antragsteller.business.impl.AntragStellerMappeImplVbsf>
    <entry>
        <registrationNumber>10234</registrationNumber>
        <jahr>0</jahr>
        <nummer>1205100000000000</nummer>
        <bezeichnung>lede30</bezeichnung>
        <amt>12051</amt>
        <owner>lede30</owner>
        <creationTime>2001-08-03T08:40:58.000</creationTime>
    </entry>
    <bezeichnung>lede30</bezeichnung>
    <jahr>0</jahr>
    <DE.data_experts.profi.profilcs.antragsteller.business.impl.AntragStellerImplVbsf>
        <asNummer>1205100000000000</asNummer>
        <unternehmen>
            <bezeichnung>TestU BB</bezeichnung>
            <nummer>1205100000000000</nummer>
            <zusatz></zusatz>
            <landId>12</landId>
            <rechtsForm id="1"/>
            <amt>12051</amt>
            <gruendungNachStichtag>false</gruendungNachStichtag>
            <aktiv>true</aktiv>
        </unternehmen>
        <bezeichnung>lede30</bezeichnung>
        <jahr>0</jahr>
        <zuletztGeaendert>2001-08-03T08:41:30.000</zuletztGeaendert>
        <dokumentart id="2"/>
    </DE.data_experts.profi.profilcs.antragsteller.business.impl.AntragStellerImplVbsf>
    <zuletztGeaendert>2001-08-03T08:41:30.000</zuletztGeaendert>
    <dokumentart id="1"/>
</DE.data_experts.profi.profilcs.antragsteller.business.impl.AntragStellerMappeImplVbsf>

Also I have an unmarhaled object, I have an RegistryEntry-Object too, but the attributes not setted (getter and setter exist) ? Why? Has anybody an idea?

Thanks in advance,
Falko.

Reply via email to