net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.javaee
Interface ErrorPageType

All Known Implementing Classes:
ErrorPageTypeImpl

public interface ErrorPageType

The error-pageType contains a mapping between an error code or exception type to the path of a resource in the web application. Used in: web-app

Java class for error-pageType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="error-pageType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice>
           <element name="error-code" type="{http://java.sun.com/xml/ns/javaee}error-codeType"/>
           <element name="exception-type" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
         </choice>
         <element name="location" type="{http://java.sun.com/xml/ns/javaee}war-pathType"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 ErrorCodeType getErrorCode()
          Gets the value of the errorCode property.
 FullyQualifiedClassType getExceptionType()
          Gets the value of the exceptionType property.
 String getId()
          Gets the value of the id property.
 WarPathType getLocation()
          Gets the value of the location property.
 void setErrorCode(ErrorCodeType value)
          Sets the value of the errorCode property.
 void setExceptionType(FullyQualifiedClassType value)
          Sets the value of the exceptionType property.
 void setId(String value)
          Sets the value of the id property.
 void setLocation(WarPathType value)
          Sets the value of the location property.
 

Method Detail

getErrorCode

ErrorCodeType getErrorCode()
Gets the value of the errorCode property.

Returns:
possible object is ErrorCodeType

setErrorCode

void setErrorCode(ErrorCodeType value)
Sets the value of the errorCode property.

Parameters:
value - allowed object is ErrorCodeType

getExceptionType

FullyQualifiedClassType getExceptionType()
Gets the value of the exceptionType property.

Returns:
possible object is FullyQualifiedClassType

setExceptionType

void setExceptionType(FullyQualifiedClassType value)
Sets the value of the exceptionType property.

Parameters:
value - allowed object is FullyQualifiedClassType

getLocation

WarPathType getLocation()
Gets the value of the location property.

Returns:
possible object is WarPathType

setLocation

void setLocation(WarPathType value)
Sets the value of the location property.

Parameters:
value - allowed object is WarPathType

getId

String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.