Back to project page js-android-sdk.
The source code is released under:
GNU Lesser General Public License
If you think the Android project js-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jaspersoft.android.sdk.client.oxm.report; /* w w w. j a v a2 s.co m*/ import com.jaspersoft.android.sdk.client.oxm.converter.ReportStatusConverter; import org.simpleframework.xml.Element; import org.simpleframework.xml.Root; import org.simpleframework.xml.convert.Convert; /** * @author Tom Koptel * @since 1.9 */ @Root(name = "status") @Convert(ReportStatusConverter.class) public class ReportStatusResponse { @Element(required = false) private String mStatus; /** * Otherwise, the framework cannot instantiate the class for deserialization. * * http://stackoverflow.com/questions/7470992/exception-with-simple-xml-framework-deserialization */ public ReportStatusResponse() { } public ReportStatusResponse(String status) { mStatus = status; } public ReportStatus getReportStatus() { return ReportStatus.valueOf(mStatus.toUpperCase()); } public String getStatus() { return mStatus; } public void setStatus(String status) { this.mStatus = status; } }