|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.jdc.http.jsp.util.IntegerParameter
IntegerParameter represents an int parameter value.
| Field Summary | |
static String |
ALL
A constant that represents all values. |
static String |
NO
A constant that represents none of the available values. |
static String |
NONE
A constant that represents none of the available values. |
static String |
OTHER
A constant that represents a value other than those available. |
| Constructor Summary | |
IntegerParameter(int value)
Constructs a new IntegerParameter object for the specified
int value. |
|
IntegerParameter(String value)
Constructs a new IntegerParameter object for the specified
String object. |
|
| Method Summary | |
int |
intValue()
Returns true if "All" was selected. |
boolean |
isAll()
Returns true if "All" was selected. |
boolean |
isNone()
Returns true if "None" was selected. |
boolean |
isNoValue()
Returns true if no value was selected. |
boolean |
isOther()
Returns true if "Other" was selected. |
String |
toString()
Returns a String representation of this IntegerParameter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String ALL
public static final String NO
public static final String NONE
public static final String OTHER
| Constructor Detail |
public IntegerParameter(int value)
IntegerParameter object for the specified
int value.
public IntegerParameter(String value)
IntegerParameter object for the specified
String object.
| Method Detail |
public int intValue()
true if "All" was selected.
True if "All" was selected.
False if "All" was not selected.public boolean isAll()
true if "All" was selected.
True if "All" was selected.
False if "All" was not selected.public boolean isNone()
true if "None" was selected.
True if "None" was selected.
False if "None" was not selected.public boolean isNoValue()
true if no value was selected.
True if no value was selected.
False if a value was selected.public boolean isOther()
true if "Other" was selected.
True if "Other" was selected.
False if "Other" was not selected.public String toString()
String representation of this IntegerParameter.
toString in class ObjectString representation of this IntegerParameter.
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||