Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Renames URL, URLID, URLIDLong properties so getter methods are getUrl… #98

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/main/resources/etframework-bindings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,16 @@
<jaxb:bindings node="//xsd:complexType[@name='Email']//xsd:element[@name='HTMLBody']">
<jaxb:property name="htmlBody" />
</jaxb:bindings>
<!-- Rename URL, URLID, URLIDLong properties so getter methods are getUrl, getUrlId and
getUrlIdLong; otherwise, reflection doesn't work. -->
<jaxb:bindings node="//xsd:complexType[@name='ClickEvent']//xsd:element[@name='URL']">
<jaxb:property name="url" />
</jaxb:bindings>
<jaxb:bindings node="//xsd:complexType[@name='ClickEvent']//xsd:element[@name='URLID']">
<jaxb:property name="urlId" />
</jaxb:bindings>
<jaxb:bindings node="//xsd:complexType[@name='ClickEvent']//xsd:element[@name='URLIDLong']">
<jaxb:property name="urlIdLong" />
</jaxb:bindings>
</jaxb:bindings>
</jaxb:bindings>