|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.SpecifieldDes
public class SpecifieldDes
An information package of a Special Group Description.
The SpecifieldDes defines how to group your information in special conditions.
This definition will be used if you set the table's group to be sorted by SPECIFIEDORDER.
| Field Summary | |
|---|---|
static int |
BETWEEN
Operator of "Between". |
static int |
EQUAL
Operator of "Equal". |
static int |
GREATER
Operator of "Greater". |
static int |
LESS
Operator of "Less". |
static int |
NOT_BETWEEN
Operator of "Not Between". |
static int |
NOT_EQUAL
Operator of "Not Equal". |
static int |
NOT_GREATER
Operator of "Not Greater". |
static int |
NOT_LESS
Operator of "Not Less". |
| Constructor Summary | |
|---|---|
SpecifieldDes(java.lang.String groupName,
int operator,
java.lang.String operand1,
java.lang.String operand2)
Constructor. |
|
SpecifieldDes(java.lang.String groupName,
int operator,
java.util.Vector operands)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a copy of the Special Group Description. |
java.lang.String |
getGroupName()
Gets the group name of this Special Group Description. |
java.lang.String |
getOperand(int index)
Gets the Operand of this Special Group Description. |
java.util.Vector |
getOperands()
Gets the Special Group Description information's operands. |
int |
getOperator()
Gets the Operator of this Special Group Description. |
void |
setOperands(java.util.Vector operands)
Sets operands of a Special Group Description condition. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int BETWEEN
public static final int GREATER
public static final int LESS
public static final int EQUAL
public static final int NOT_BETWEEN
public static final int NOT_GREATER
public static final int NOT_LESS
public static final int NOT_EQUAL
| Constructor Detail |
|---|
public SpecifieldDes(java.lang.String groupName,
int operator,
java.lang.String operand1,
java.lang.String operand2)
groupName - The name of the Special Group.operator - The operator to filter and range the data.operand1 - The first operand.operand2 - The second operand if the criteria needs two operands.
public SpecifieldDes(java.lang.String groupName,
int operator,
java.util.Vector operands)
groupName - The name of the Special Group.operator - The operator to filter and range the data.operands - A set of operands of the group condition. The first element is the String value of the first operand;
the second element is the String value of the second operand of the group condition if the criteria needs two operands.| Method Detail |
|---|
public void setOperands(java.util.Vector operands)
operands - A set of operands of the group condition. The first element is the String value of the first operand;
the second element is the String value of the second operand of group condition if the criteria needs two operands.public java.util.Vector getOperands()
public java.lang.String getGroupName()
public int getOperator()
public java.lang.String getOperand(int index)
index - The index of the operand , which starts with 1, and ends with 2.
public java.lang.Object clone()
clone in class java.lang.ObjectObject.clone()public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||