org.eclipse.modisco.jee.webapp.webapp24
Interface ErrorPageType


public interface ErrorPageType

A representation of the model object 'Error Page Type'. 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

The following features are supported:

See Also:
Webapp24Package.getErrorPageType()
Generated:
Model:
extendedMetaData="name='error-pageType' kind='elementOnly'"

Method Summary
 ErrorCodeType getErrorCode()
          Returns the value of the 'Error Code' containment reference.
 FullyQualifiedClassType getExceptionType()
          Returns the value of the 'Exception Type' containment reference.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 WarPathType getLocation()
          Returns the value of the 'Location' containment reference.
 void setErrorCode(ErrorCodeType value)
          Sets the value of the 'Error Code' containment reference.
 void setExceptionType(FullyQualifiedClassType value)
          Sets the value of the 'Exception Type' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setLocation(WarPathType value)
          Sets the value of the 'Location' containment reference.
 

Method Detail

getErrorCode

ErrorCodeType getErrorCode()
Returns the value of the 'Error Code' containment reference.

If the meaning of the 'Error Code' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Error Code' containment reference.
See Also:
setErrorCode(ErrorCodeType), Webapp24Package.getErrorPageType_ErrorCode()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='error-code' namespace='http://java.sun.com/xml/ns/j2ee'"

setErrorCode

void setErrorCode(ErrorCodeType value)
Sets the value of the 'Error Code' containment reference.

Parameters:
value - the new value of the 'Error Code' containment reference.
See Also:
getErrorCode()
Generated:

getExceptionType

FullyQualifiedClassType getExceptionType()
Returns the value of the 'Exception Type' containment reference. The exception-type contains a fully qualified class name of a Java exception type.

Returns:
the value of the 'Exception Type' containment reference.
See Also:
setExceptionType(FullyQualifiedClassType), Webapp24Package.getErrorPageType_ExceptionType()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='exception-type' namespace='http://java.sun.com/xml/ns/j2ee'"

setExceptionType

void setExceptionType(FullyQualifiedClassType value)
Sets the value of the 'Exception Type' containment reference.

Parameters:
value - the new value of the 'Exception Type' containment reference.
See Also:
getExceptionType()
Generated:

getLocation

WarPathType getLocation()
Returns the value of the 'Location' containment reference. The location element contains the location of the resource in the web application relative to the root of the web application. The value of the location must have a leading `/'.

Returns:
the value of the 'Location' containment reference.
See Also:
setLocation(WarPathType), Webapp24Package.getErrorPageType_Location()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='location' namespace='http://java.sun.com/xml/ns/j2ee'"

setLocation

void setLocation(WarPathType value)
Sets the value of the 'Location' containment reference.

Parameters:
value - the new value of the 'Location' containment reference.
See Also:
getLocation()
Generated:

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), Webapp24Package.getErrorPageType_Id()
Generated:
Model:
id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" extendedMetaData="kind='attribute' name='id'"

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated: