
uk.org.retep.xmpp.message.Error Maven / Gradle / Ivy
/*
* Copyright (c) 1998-2009, Peter T Mount
* All rights reserved.
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see .
*
*
*
* GNU GENERAL PUBLIC LICENSE - CLASSPATH EXCEPTION
*
*
*
* Linking this library statically or dynamically with other modules
* is making a combined work based on this library. Thus, the terms
* and conditions of the GNU General Public License cover the whole
* combination.
*
*
*
* As a special exception, the copyright holders of this library give
* you permission to link this library with independent modules to
* produce an executable, regardless of the license terms of these
* independent modules, and to copy and distribute the resulting
* executable under terms of your choice, provided that you also meet,
* for each linked independent module, the terms and conditions of the
* license of that module.
*
*
*
* An independent module is a module which is either not derived from or based
* on this library, or a module who's classes extend those within this library
* as part of the implementation of the library.
*
*
*
* If you modify this library, you may extend this exception to your version
* of the library, but you are not obligated to do so. If you do not wish to
* do so, delete this exception statement from your version.
*
*/
package uk.org.retep.xmpp.message;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <group ref="{urn:ietf:params:xml:ns:xmpp-stanzas}stanzaErrorGroup"/>
* <element ref="{urn:ietf:params:xml:ns:xmpp-stanzas}text" minOccurs="0"/>
* </sequence>
* <attribute name="code" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
* <attribute name="type" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
* <enumeration value="auth"/>
* <enumeration value="cancel"/>
* <enumeration value="continue"/>
* <enumeration value="modify"/>
* <enumeration value="wait"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
public interface Error {
/**
* Gets the value of the badRequest property.
*
* @return
* possible object is
* {@link BadRequest }
*
*/
String getBadRequest();
/**
* Sets the value of the badRequest property.
*
* @param value
* allowed object is
* {@link BadRequest }
*
*/
void setBadRequest(String value);
/**
* Gets the value of the conflict property.
*
* @return
* possible object is
* {@link Conflict }
*
*/
String getConflict();
/**
* Sets the value of the conflict property.
*
* @param value
* allowed object is
* {@link Conflict }
*
*/
void setConflict(String value);
/**
* Gets the value of the featureNotImplemented property.
*
* @return
* possible object is
* {@link FeatureNotImplemented }
*
*/
String getFeatureNotImplemented();
/**
* Sets the value of the featureNotImplemented property.
*
* @param value
* allowed object is
* {@link FeatureNotImplemented }
*
*/
void setFeatureNotImplemented(String value);
/**
* Gets the value of the forbidden property.
*
* @return
* possible object is
* {@link Forbidden }
*
*/
String getForbidden();
/**
* Sets the value of the forbidden property.
*
* @param value
* allowed object is
* {@link Forbidden }
*
*/
void setForbidden(String value);
/**
* Gets the value of the gone property.
*
* @return
* possible object is
* {@link Gone }
*
*/
String getGone();
/**
* Sets the value of the gone property.
*
* @param value
* allowed object is
* {@link Gone }
*
*/
void setGone(String value);
/**
* Gets the value of the internalServerError property.
*
* @return
* possible object is
* {@link InternalServerError }
*
*/
String getInternalServerError();
/**
* Sets the value of the internalServerError property.
*
* @param value
* allowed object is
* {@link InternalServerError }
*
*/
void setInternalServerError(String value);
/**
* Gets the value of the itemNotFound property.
*
* @return
* possible object is
* {@link ItemNotFound }
*
*/
String getItemNotFound();
/**
* Sets the value of the itemNotFound property.
*
* @param value
* allowed object is
* {@link ItemNotFound }
*
*/
void setItemNotFound(String value);
/**
* Gets the value of the jidMalformed property.
*
* @return
* possible object is
* {@link JidMalformed }
*
*/
String getJidMalformed();
/**
* Sets the value of the jidMalformed property.
*
* @param value
* allowed object is
* {@link JidMalformed }
*
*/
void setJidMalformed(String value);
/**
* Gets the value of the notAcceptable property.
*
* @return
* possible object is
* {@link NotAcceptable }
*
*/
String getNotAcceptable();
/**
* Sets the value of the notAcceptable property.
*
* @param value
* allowed object is
* {@link NotAcceptable }
*
*/
void setNotAcceptable(String value);
/**
* Gets the value of the notAllowed property.
*
* @return
* possible object is
* {@link NotAllowed }
*
*/
String getNotAllowed();
/**
* Sets the value of the notAllowed property.
*
* @param value
* allowed object is
* {@link NotAllowed }
*
*/
void setNotAllowed(String value);
/**
* Gets the value of the paymentRequired property.
*
* @return
* possible object is
* {@link PaymentRequired }
*
*/
String getPaymentRequired();
/**
* Sets the value of the paymentRequired property.
*
* @param value
* allowed object is
* {@link PaymentRequired }
*
*/
void setPaymentRequired(String value);
/**
* Gets the value of the recipientUnavailable property.
*
* @return
* possible object is
* {@link RecipientUnavailable }
*
*/
String getRecipientUnavailable();
/**
* Sets the value of the recipientUnavailable property.
*
* @param value
* allowed object is
* {@link RecipientUnavailable }
*
*/
void setRecipientUnavailable(String value);
/**
* Gets the value of the redirect property.
*
* @return
* possible object is
* {@link String }
*
*/
String getRedirect();
/**
* Sets the value of the redirect property.
*
* @param value
* allowed object is
* {@link String }
*
*/
void setRedirect(String value);
/**
* Gets the value of the registrationRequired property.
*
* @return
* possible object is
* {@link RegistrationRequired }
*
*/
String getRegistrationRequired();
/**
* Sets the value of the registrationRequired property.
*
* @param value
* allowed object is
* {@link RegistrationRequired }
*
*/
void setRegistrationRequired(String value);
/**
* Gets the value of the remoteServerNotFound property.
*
* @return
* possible object is
* {@link RemoteServerNotFound }
*
*/
String getRemoteServerNotFound();
/**
* Sets the value of the remoteServerNotFound property.
*
* @param value
* allowed object is
* {@link RemoteServerNotFound }
*
*/
void setRemoteServerNotFound(String value);
/**
* Gets the value of the remoteServerTimeout property.
*
* @return
* possible object is
* {@link RemoteServerTimeout }
*
*/
String getRemoteServerTimeout();
/**
* Sets the value of the remoteServerTimeout property.
*
* @param value
* allowed object is
* {@link RemoteServerTimeout }
*
*/
void setRemoteServerTimeout(String value);
/**
* Gets the value of the resourceConstraint property.
*
* @return
* possible object is
* {@link ResourceConstraint }
*
*/
String getResourceConstraint();
/**
* Sets the value of the resourceConstraint property.
*
* @param value
* allowed object is
* {@link ResourceConstraint }
*
*/
void setResourceConstraint(String value);
/**
* Gets the value of the serviceUnavailable property.
*
* @return
* possible object is
* {@link ServiceUnavailable }
*
*/
String getServiceUnavailable();
/**
* Sets the value of the serviceUnavailable property.
*
* @param value
* allowed object is
* {@link ServiceUnavailable }
*
*/
void setServiceUnavailable(String value);
/**
* Gets the value of the subscriptionRequired property.
*
* @return
* possible object is
* {@link SubscriptionRequired }
*
*/
String getSubscriptionRequired();
/**
* Sets the value of the subscriptionRequired property.
*
* @param value
* allowed object is
* {@link SubscriptionRequired }
*
*/
void setSubscriptionRequired(String value);
/**
* Gets the value of the undefinedCondition property.
*
* @return
* possible object is
* {@link UndefinedCondition }
*
*/
String getUndefinedCondition();
/**
* Sets the value of the undefinedCondition property.
*
* @param value
* allowed object is
* {@link UndefinedCondition }
*
*/
void setUndefinedCondition(String value);
/**
* Gets the value of the unexpectedRequest property.
*
* @return
* possible object is
* {@link UnexpectedRequest }
*
*/
String getUnexpectedRequest();
/**
* Sets the value of the unexpectedRequest property.
*
* @param value
* allowed object is
* {@link UnexpectedRequest }
*
*/
void setUnexpectedRequest(String value);
/**
* Gets the value of the text property.
*
* @return
* possible object is
* {@link Text }
*
*/
T getText();
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link Text }
*
*/
void setText(T value);
/**
* Gets the value of the code property.
*
* @return
* possible object is
* {@link Integer }
*
*/
Integer getCode();
/**
* Sets the value of the code property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
void setCode(Integer value);
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
String getType();
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
void setType(String value);
}