Back to project page Book-MetaSearch.
The source code is released under:
Apache License
If you think the Android project Book-MetaSearch 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.ECS.client.jax; /* w w w .j av a2 s .c o m*/ import java.util.ArrayList; import java.util.List; public class Errors { protected List<Errors.Error> error; /** * Gets the value of the error property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the error property. * * <p> * For example, to add a new item, do as follows: * <pre> * getError().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Errors.Error } * * */ public List<Errors.Error> getError() { if (error == null) { error = new ArrayList<Errors.Error>(); } return this.error; } public static class Error { protected String code; protected String message; /** * Gets the value of the code property. * * @return * possible object is * {@link String } * */ public String getCode() { return code; } /** * Sets the value of the code property. * * @param value * allowed object is * {@link String } * */ public void setCode(String value) { this.code = value; } /** * Gets the value of the message property. * * @return * possible object is * {@link String } * */ public String getMessage() { return message; } /** * Sets the value of the message property. * * @param value * allowed object is * {@link String } * */ public void setMessage(String value) { this.message = value; } } }