org.jboss.shrinkwrap.descriptor.api.facespartialresponse20.PartialResponseErrorType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.facespartialresponse20;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.facespartialresponse.*;
import org.jboss.shrinkwrap.descriptor.api.facespartialresponse.JavaeePartialResponseErrorCommonType;
/**
* This interface defines the contract for the partial-response-errorType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface PartialResponseErrorType extends Child,
JavaeePartialResponseErrorCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: PartialResponseErrorType ElementName: xsd:string ElementType : error-name
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the error-name
element
* @param errorName the value for the element error-name
* @return the current instance of PartialResponseErrorType
*/
public PartialResponseErrorType errorName(String errorName);
/**
* Returns the error-name
element
* @return the node defined for the element error-name
*/
public String getErrorName();
/**
* Removes the error-name
element
* @return the current instance of PartialResponseErrorType
*/
public PartialResponseErrorType removeErrorName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: PartialResponseErrorType ElementName: xsd:string ElementType : error-message
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the error-message
element
* @param errorMessage the value for the element error-message
* @return the current instance of PartialResponseErrorType
*/
public PartialResponseErrorType errorMessage(String errorMessage);
/**
* Returns the error-message
element
* @return the node defined for the element error-message
*/
public String getErrorMessage();
/**
* Removes the error-message
element
* @return the current instance of PartialResponseErrorType
*/
public PartialResponseErrorType removeErrorMessage();
}