/******************************************************************************* * Copyright (c) 2006-2010 eBay Inc. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *******************************************************************************/ package org.ebayopensource.turmeric.tools.codegen; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CustomErrorData", propOrder = { "errorId", "domain", "message", "exceptionId" }) public class CustomErrorData { @XmlElement(name = "error-id") protected long errorId; @XmlElement(required = true) protected String domain; @XmlElement(required = true) protected String message; @XmlElement(name = "exception-id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String exceptionId; /** * Gets the value of the errorId property. * */ public long getErrorId() { return errorId; } /** * Sets the value of the errorId property. * */ public void setErrorId(long value) { this.errorId = value; } /** * Gets the value of the domain property. * * @return * possible object is * {@link String } * */ public String getDomain() { return domain; } /** * Sets the value of the domain property. * * @param value * allowed object is * {@link String } * */ public void setDomain(String value) { this.domain = 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; } /** * Gets the value of the exceptionId property. * * @return * possible object is * {@link String } * */ public String getExceptionId() { return exceptionId; } /** * Sets the value of the exceptionId property. * * @param value * allowed object is * {@link String } * */ public void setExceptionId(String value) { this.exceptionId = value; } }