net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee
Class ErrorPageType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.ErrorPageType
All Implemented Interfaces:
Serializable, Cloneable

public class ErrorPageType
extends Object
implements Serializable, Cloneable

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>
 

See Also:
Serialized Form

Field Summary
protected  ErrorCodeType errorCode
           
protected  FullyQualifiedClassType exceptionType
           
protected  String id
           
protected  WarPathType location
           
 
Constructor Summary
ErrorPageType()
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.ErrorPageType instance.
ErrorPageType(ErrorPageType o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.ErrorPageType instance by copying a given instance.
 
Method Summary
 ErrorPageType clone()
          Creates and returns a copy of this object.
 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errorCode

protected ErrorCodeType errorCode

exceptionType

protected FullyQualifiedClassType exceptionType

location

protected WarPathType location

id

protected String id
Constructor Detail

ErrorPageType

public ErrorPageType()
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.ErrorPageType instance.


ErrorPageType

public ErrorPageType(ErrorPageType o)
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.ErrorPageType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getErrorCode

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

Returns:
possible object is ErrorCodeType

setErrorCode

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

Parameters:
value - allowed object is ErrorCodeType

getExceptionType

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

Returns:
possible object is FullyQualifiedClassType

setExceptionType

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

Parameters:
value - allowed object is FullyQualifiedClassType

getLocation

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

Returns:
possible object is WarPathType

setLocation

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

Parameters:
value - allowed object is WarPathType

getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String

clone

public ErrorPageType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


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