public class CompatibilityStatus
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CONVERT_COMPATIBILITY_TYPE
Status that indicates the report item has some compatibilities to do.
|
protected java.util.List<SemanticException> |
errors
List of the errors after checking compatibilities.
|
static int |
NOT_SUPPORTED_TYPE
Status that indicates the version of the report item is not supported.
|
static int |
OK_TYPE
Status that indicates the report item has no compatibilities and its
version is supported also.
|
protected int |
statusType
Type of the status.
|
| 构造器和说明 |
|---|
CompatibilityStatus()
Default constructor.
|
CompatibilityStatus(java.util.List<? extends SemanticException> errors,
int type)
Constructs this status with the error list and the type.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.List<SemanticException> |
getErrors()
Gets the error list of this status after checking the compatibilities.
|
int |
getStatusType()
Gets the type of this status.
|
void |
setErrors(java.util.List<SemanticException> errors)
Sets the error list of this status.
|
void |
setStatusType(int type)
Sets the type of this status.
|
public static final int OK_TYPE
public static final int NOT_SUPPORTED_TYPE
public static final int CONVERT_COMPATIBILITY_TYPE
protected java.util.List<SemanticException> errors
protected int statusType
public CompatibilityStatus()
public CompatibilityStatus(java.util.List<? extends SemanticException> errors, int type)
errors - type - public java.util.List<SemanticException> getErrors()
SemanticException.public void setErrors(java.util.List<SemanticException> errors)
errors - the errors to setpublic int getStatusType()
OK_TYPE.public void setStatusType(int type)
type - the status type to setCopyright © 2008 Actuate Corp. All rights reserved.