|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.test.cmp2.lob.ValueHolderStateFactory
Constructor Summary | |
ValueHolderStateFactory()
|
Method Summary | |
java.lang.Object |
getFieldState(java.lang.Object fieldValue)
Calculates and returns an object that represents the state of the field value. |
boolean |
isStateValid(java.lang.Object state,
java.lang.Object fieldValue)
Checks whether the field's state state
is equal to the field value's state (possibly, calculated with
the getFieldState() method). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ValueHolderStateFactory()
Method Detail |
public java.lang.Object getFieldState(java.lang.Object fieldValue)
CMPFieldStateFactory (src)
getFieldState
in interface CMPFieldStateFactory (src)
fieldValue
- field's value.
public boolean isStateValid(java.lang.Object state, java.lang.Object fieldValue)
CMPFieldStateFactory (src)
state
is equal to the field value's state (possibly, calculated with
the getFieldState()
method).
isStateValid
in interface CMPFieldStateFactory (src)
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 (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |