e.redmine-java-api.1.9.1.source-code.mapping_users.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.User"> <map-to xml="user" /> <field name="id" type="integer"> <bind-xml name="id" node="element" /> </field> <field name="login" type="string"> <bind-xml name="login" node="element" /> </field> <!-- note: "password" field is only used when _creating_ users --> <field name="password" type="string"> <bind-xml name="password" node="element" /> </field> <field name="firstName" type="string"> <bind-xml name="firstname" node="element" /> </field> <field name="lastName" type="string"> <bind-xml name="lastname" node="element" /> </field> <field name="mail" type="string"> <bind-xml name="mail" node="element" /> </field> <field name="createdOn" type="string" handler="org.redmine.ta.internal.RedmineLongDateHandler"> <bind-xml name="created_on" node="element" /> </field> <field name="lastLoginOn" type="string" handler="org.redmine.ta.internal.RedmineLongDateHandler"> <bind-xml name="last_login_on" node="element" /> </field> <field name="customFields" type="org.redmine.ta.beans.CustomField" collection="arraylist" > <bind-xml name="custom_field" location="custom_fields"/> </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> </mapping>