|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implementations of this interface are used to create and compare field states for equality.
Method Summary | |
Object |
getFieldState(Object fieldValue)
Calculates and returns an object that represents the state of the field value. |
boolean |
isStateValid(Object state,
Object fieldValue)
Checks whether the field's state state
is equal to the field value's state (possibly, calculated with
the getFieldState() method). |
Method Detail |
public Object getFieldState(Object fieldValue)
fieldValue
- field's value.
public boolean isStateValid(Object state, Object fieldValue)
state
is equal to the field value's state (possibly, calculated with
the getFieldState()
method).
state
- the state to compare with field value's state.fieldValue
- field's value, the state of which will be compared
with state
.
state
equals to fieldValue
's state.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |