public class CompatibilityStatus
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
CompatibilityStatus()
Default constructor.
|
CompatibilityStatus(java.util.List<? extends SemanticException> errors,
int type)
Constructs this status with the error list and the type.
|
Modifier and Type | Method and Description |
---|---|
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.