|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.codestreet.messageforge.RRequiredGrp
This class represents a required field specification. A message can specify
a set of fields that are required when one or more conditions are satisfied.
For example, a message can specify that fields X, Y, and Z must be set (even
though one or more of them are optional) when the value of field A is 'Foo'
and the value of field B is 'Goo'.
Constructor Summary | |
RRequiredGrp(java.lang.String[] condFldNames,
java.lang.String[] condFldValues,
java.lang.String[] reqFields)
Ctor. |
Method Summary | |
java.lang.String[] |
getConditionalFields()
Get the names of the conditional fields. |
java.lang.String[] |
getConditionalValues()
Get the conditional field values. |
java.lang.String[] |
getRequiredFields()
Get the names of the required fields. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RRequiredGrp(java.lang.String[] condFldNames, java.lang.String[] condFldValues, java.lang.String[] reqFields)
condFldNames
- Conditional field names.condFldValues
- Conditional values.reqFields
- Required field names.RMsg
Method Detail |
public final java.lang.String[] getConditionalFields()
public final java.lang.String[] getConditionalValues()
public final java.lang.String[] getRequiredFields()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |