e.redmine-java-api.1.9.1.source-code.mapping_issues_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.Issue"> <map-to xml="issue"/> <field name="id" type="integer"> <bind-xml name="id" node="element" /> </field> <field name="parentId" type="integer"> <bind-xml name="id" node="attribute" location="parent" /> </field> <field name="subject" type="string"> <bind-xml name="subject" node="element" /> </field> <field name="tracker" type="org.redmine.ta.beans.Tracker"> <bind-xml name="tracker"/> </field> <field name="targetVersion" type="org.redmine.ta.beans.Version"> <bind-xml name="fixed_version"/> </field> <field name="estimatedHours" type="float"> <bind-xml name="estimated_hours" node="element" /> </field> <field name="spentHours" type="float"> <bind-xml name="spent_hours" node="element" /> </field> <field name="doneRatio" type="integer"> <bind-xml name="done_ratio" node="element" /> </field> <field name="assignee" type="org.redmine.ta.beans.User"> <bind-xml name="assigned_to" /> </field> <field name="author" type="org.redmine.ta.beans.User"> <bind-xml name="author" /> </field> <field name="project" type="org.redmine.ta.beans.Project"> <bind-xml name="project" /> </field> <field name="priorityText" type="string"> <bind-xml location="priority" node="attribute" name="name"/> </field> <field name="priorityId" type="integer"> <bind-xml location="priority" node="attribute" name="id" /> </field> <field name="startDate" type="string" handler="org.redmine.ta.internal.RedmineShortDateHandler"> <bind-xml name="start_date" node="element" /> </field> <field name="dueDate" type="string" handler="org.redmine.ta.internal.RedmineShortDateHandler"> <bind-xml name="due_date" 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="updatedOn" type="string" handler="org.redmine.ta.internal.RedmineLongDateHandler"> <bind-xml name="updated_on" node="element" /> </field> <field name="statusId" type="integer"> <bind-xml location="status" node="attribute" name="id" /> </field> <field name="statusName" type="string"> <bind-xml location="status" node="attribute" name="name" /> </field> <field name="customFields" type="org.redmine.ta.beans.CustomField" collection="arraylist" > <bind-xml name="custom_field" location="custom_fields"/> </field> <field name="journals" type="org.redmine.ta.beans.Journal" collection="arraylist" > <bind-xml name="journal" location="journals"/> </field> <field name="relations" type="org.redmine.ta.beans.IssueRelation" collection="arraylist" > <bind-xml name="relation" location="relations"/> </field> <field name="attachments" type="org.redmine.ta.beans.Attachment" collection="arraylist" > <bind-xml name="attachment" location="attachments"/> </field> <field name="category" type="org.redmine.ta.beans.IssueCategory"> <bind-xml name="category" /> </field> </class> <class name="org.redmine.ta.beans.Tracker"> <map-to xml="tracker"/> <field name="id" type="integer" > <bind-xml name="id" node="attribute"/> </field> <field name="name" type="string" > <bind-xml name="name" node="attribute"/> </field> </class> <class name="org.redmine.ta.beans.Version"> <map-to xml="fixed_version"/> <field name="id" type="integer" > <bind-xml name="id" node="attribute"/> </field> <field name="name" type="string" > <bind-xml name="name" node="attribute"/> </field> </class> <class name="org.redmine.ta.beans.User"> <field name="id" type="integer"> <bind-xml name="id" node="attribute" /> </field> <field name="fullName" type="string"> <bind-xml name="name" node="attribute" /> </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.CustomField"> <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="value" type="string"> <bind-xml node="element"/> </field> </class> <class name="org.redmine.ta.beans.Journal"> <field name="id" type="integer"> <bind-xml name="id" node="attribute"/> </field> <field name="user" type="org.redmine.ta.beans.User"> <bind-xml name="user" /> </field> <field name="notes" type="string"> <bind-xml name="notes" node="element"/> </field> <field name="createdOn" type="string" handler="org.redmine.ta.internal.RedmineLongDateHandler"> <bind-xml name="created_on" node="element" /> </field> </class> <class name="org.redmine.ta.beans.IssueRelation"> <field name="id" type="integer"> <bind-xml name="id" node="attribute"/> </field> <field name="issueId" type="integer"> <bind-xml name="issue_id" node="attribute"/> </field> <field name="issueToId" type="integer"> <bind-xml name="issue_to_id" node="attribute"/> </field> <field name="type" type="string"> <bind-xml name="relation_type" node="attribute"/> </field> <field name="delay" type="integer"> <bind-xml name="delay" node="attribute"/> </field> </class> <class name="org.redmine.ta.beans.Attachment"> <map-to xml="attachment" /> <field name="id" type="integer"> <bind-xml name="id" node="element" /> </field> <field name="fileName" type="string"> <bind-xml name="filename" node="element" /> </field> <field name="fileSize" type="long"> <bind-xml name="filesize" node="element" /> </field> <field name="contentType" type="string"> <bind-xml name="content_type" node="element" /> </field> <field name="description" type="string"> <bind-xml name="description" node="element" /> </field> <field name="contentURL" type="string"> <bind-xml name="content_url" node="element" /> </field> <field name="createdOn" type="date"> <bind-xml name="created_on" node="element" /> </field> <field name="author" type="org.redmine.ta.beans.User"> <bind-xml name="author" /> </field> </class> <class name="org.redmine.ta.beans.IssueCategory"> <map-to xml="category"/> <field name="id" type="integer"> <bind-xml name="id" node="attribute"/> </field> <field name="name" type="string"> <bind-xml name="name" node="attribute"/> </field> </class> </mapping>