com.crystaldecisions.sdk.occa.report.template
Class ReportTemplateError

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.template.ReportTemplateError

public final class ReportTemplateError
extends java.lang.Object

This class is used to specify the type of error thrown when manipulating report templates.


Field Summary
static int _applyTemplateFail
           The template could not be applied.
static int _createTemplateFail
           The template could not be created.
static int _internal
           An internal error occurred.
static int _openTargetReportFail
           The target report could not be opened.
static int _saveReportFail
           The report could not be saved.
static ReportTemplateError applyTemplateFail
           A ReportTemplateError object that specifies the template could not be applied.
static ReportTemplateError createTemplateFail
           A ReportTemplateError object that specifies the template could not be created.
static ReportTemplateError internal
           A ReportTemplateError object that specifies an internal error occurred.
static ReportTemplateError openTargetReportFail
           A ReportTemplateError object that specifies the target report could not be opened.
static ReportTemplateError saveReportFail
           A ReportTemplateError object that specifies the report could not be saved.
 
Method Summary
static ReportTemplateError from_int(int i)
           Returns the ReportTemplateError object corresponding to the specified value.
 int value()
           Returns the int value of this ReportTemplateError object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_internal

public static final int _internal

An internal error occurred.

See Also:
Constant Field Values

_openTargetReportFail

public static final int _openTargetReportFail

The target report could not be opened.

See Also:
Constant Field Values

_createTemplateFail

public static final int _createTemplateFail

The template could not be created.

See Also:
Constant Field Values

_saveReportFail

public static final int _saveReportFail

The report could not be saved.

See Also:
Constant Field Values

_applyTemplateFail

public static final int _applyTemplateFail

The template could not be applied.

See Also:
Constant Field Values

internal

public static final ReportTemplateError internal

A ReportTemplateError object that specifies an internal error occurred.


openTargetReportFail

public static final ReportTemplateError openTargetReportFail

A ReportTemplateError object that specifies the target report could not be opened.


createTemplateFail

public static final ReportTemplateError createTemplateFail

A ReportTemplateError object that specifies the template could not be created.


saveReportFail

public static final ReportTemplateError saveReportFail

A ReportTemplateError object that specifies the report could not be saved.


applyTemplateFail

public static final ReportTemplateError applyTemplateFail

A ReportTemplateError object that specifies the template could not be applied.

Method Detail

from_int

public static final ReportTemplateError from_int(int i)

Returns the ReportTemplateError object corresponding to the specified value.

Parameters:
i - The int value of the desired ReportTemplateError object.
Returns:
The ReportTemplateError object corresponding to the specified value.

value

public int value()

Returns the int value of this ReportTemplateError object.

Returns:
The int value of this ReportTemplateError object.