e.redmine-java-api.1.9.1.source-code.mapping_news_list.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redmine-java-api Show documentation
Show all versions of redmine-java-api Show documentation
Free open-source Java API for Redmine and Chiliproject bug/task management systems.
<?xml version="1.0"?> <!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.org/mapping.dtd"> <mapping> <description>Redmine XML -> Java API binding. see http://taskadapter.com </description> <class name="org.redmine.ta.beans.News"> <map-to xml="news"/> <field name="id" type="integer"> <bind-xml name="id" node="element"/> </field> <field name="title" type="string"> <bind-xml name="title" node="element"/> </field> <field name="description" type="string"> <bind-xml name="description" node="element"/> </field> <field name="createdOn" type="string" handler="org.redmine.ta.internal.RedmineLongDateHandler"> <bind-xml name="created_on" node="element"/> </field> <field name="project" type="org.redmine.ta.beans.Project"> <bind-xml name="project"/> </field> <field name="user" type="org.redmine.ta.beans.User"> <bind-xml name="author"/> </field> </class> <class name="org.redmine.ta.beans.Project"> <field name="id" type="integer"> <bind-xml name="id" node="attribute"/> </field> <field name="name" type="string"> <bind-xml name="name" node="attribute"/> </field> <field name="identifier" type="string"> <bind-xml name="identifier" node="attribute"/> </field> </class> <class name="org.redmine.ta.beans.User"> <field name="id" type="integer"> <bind-xml name="id" node="attribute"/> </field> <!-- I submitted a bug to Redmine developers about this "full name" hack: http://www.redmine.org/issues/10164 --> <field name="fullName" type="string"> <bind-xml name="name" node="attribute"/> </field> </class> </mapping>