public interface CMPFieldStateFactory
Modifier and Type | Method and Description |
---|---|
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). |
Object getFieldState(Object fieldValue)
fieldValue
- field's value.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.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.