|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
QualityFlag interface provides the minimum necessary methods for the object to indicate whether the value of the DataHolder object holds valid information or not. The DataProvider Bean developer may define an appropriate class that implements the QualityFlag interface and pass the object as an argument when calling the setValue method of the DataHolder object.
The JIM framework provides SimpleQualityFlag as a basic class that implements the QualityFlag interface.
フィールドの概要 | |
static int |
BAD
This indicates that it is an abnormal value, as top-level quality information. |
static int |
GOOD
This indicates that it is a normal value, as top-level quality information. |
static int |
LIMIT_CONSTANT
This limit informaition indicates that the value is a constant. |
static int |
LIMIT_HIGH_LIMITED
This limit information indicates that the value is limited to a maximum value. |
static int |
LIMIT_LOW_LIMITED
This limit information indicates that the value is limited to a minimum value. |
static int |
LIMIT_NOT_LIMITED
This limit information indicates that the value is not limited. |
static int |
SUBSTATUS_NON_SPECIFIC
This indicates that there is no particular sub status information. |
static int |
UNCERTAIN
This indicates not being able to judge whether it is normal or abnormal, as top-level quality information. |
メソッドの概要 | |
int |
getLimit()
This returns information on the limit (upper / lower bound). |
int |
getQuality()
This returns top level information related to quality. |
int |
getSubStatus()
This returns the substatus information in response to the quality. |
フィールドの詳細 |
public static final int BAD
public static final int UNCERTAIN
public static final int GOOD
public static final int SUBSTATUS_NON_SPECIFIC
public static final int LIMIT_NOT_LIMITED
public static final int LIMIT_LOW_LIMITED
public static final int LIMIT_HIGH_LIMITED
public static final int LIMIT_CONSTANT
メソッドの詳細 |
public int getLimit()
QualityFlag.LIMIT_NOT_LIMITED, QualityFlag.LIMIT_LOW_LIMITED, QualityFlag.LIMIT_HIGH_LIMITED or QualityFlag.LIMIT_CONSTANT is returned. (If limit information is not treated in particular, this method should be implemented to return QualityFlag.LIMIT_NOT_LIMITED)
public int getQuality()
public int getSubStatus()
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |