|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.api.extension.CompatibilityStatus
public class CompatibilityStatus
Class that records some status after the report item checks the compatibilities.
Field Summary | |
---|---|
static int |
CONVERT_COMPATIBILITY_TYPE
Status that indicates the version of the report item is not supported. |
protected java.util.List |
errors
List of the errors after checking compatibilities. |
static int |
NOT_SUPPORTED_TYPE
Status that indicates the report item has some compatibilities to do. |
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 Summary | |
---|---|
CompatibilityStatus()
Default constructor. |
|
CompatibilityStatus(java.util.List errors,
int type)
Constructs this status with the error list and the type. |
Method Summary | |
---|---|
java.util.List |
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 errors)
Sets the error list of this status. |
void |
setStatusType(int type)
Sets the type of this status. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int OK_TYPE
public static final int NOT_SUPPORTED_TYPE
public static final int CONVERT_COMPATIBILITY_TYPE
protected java.util.List errors
protected int statusType
Constructor Detail |
---|
public CompatibilityStatus()
public CompatibilityStatus(java.util.List errors, int type)
errors
- type
- Method Detail |
---|
public java.util.List getErrors()
SemanticException
.
public void setErrors(java.util.List errors)
errors
- the errors to setpublic int getStatusType()
OK_TYPE
.
public void setStatusType(int type)
type
- the status type to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |