|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.sun.identity.log.QueryElement
public class QueryElement
This class defines each individual query format. It stores field name, value and relationship between them. Currently it supports Equal, Not Equal, Greater Than, Lesser Than, Greater Than Or Equal and Lesser Than Or Equal relationships.
| フィールドの概要 | |
|---|---|
static int |
CN
Contains Relationship. |
static int |
EQ
Equal Relationship. |
static int |
EW
Ends With Relationship. |
static int |
GE
Greater Than or Equal Relationship. |
static int |
GT
Greater Than Relationship. |
static int |
LE
Lesser Than or Equal Relationship. |
static int |
LT
Lesser Than Relationship. |
static int |
NE
Not Equal Relationship. |
static int |
NV
Invalid Relationship. |
static int |
SW
Starts With Relationship. |
| コンストラクタの概要 | |
|---|---|
QueryElement()
Default constructor. |
|
QueryElement(String fld,
String val,
int rel)
Constructor. |
|
| メソッドの概要 | |
|---|---|
String |
getFieldName()
Returns the field name on which query to be applied |
String |
getFieldValue()
Returns the value of the field to be compared as stored in the query element. |
int |
getRelation()
Returns relation to be applied in between field and value as stored in the query element. |
void |
setFieldName(String field)
Sets the field name for this query element. |
void |
setFieldValue(String value)
Sets the value for the field name in this query element. |
void |
setRelation(int value)
This method modifies/sets the relation between the field name and value in this query element. |
| フィールドの詳細 |
|---|
public static final int NV
public static final int GT
public static final int LT
public static final int EQ
public static final int NE
public static final int GE
public static final int LE
public static final int CN
public static final int SW
public static final int EW
| コンストラクタの詳細 |
|---|
public QueryElement(String fld,
String val,
int rel)
fld - name of the field to be set.val - value of the field to be set.rel - relation between field and value to be checked.public QueryElement()
| メソッドの詳細 |
|---|
public String getFieldName()
public String getFieldValue()
public int getRelation()
public void setFieldName(String field)
field - field or column name of the log recordpublic void setFieldValue(String value)
value - field or column value of the log recordpublic void setRelation(int value)
value - relation between field and value to be matched.
IllegalArgumentException - if relation is invalid.
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||