|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for storing values associated to an identity constraint. Each value stored corresponds to a field declared for the identity constraint. One instance of an object implementing this interface is created for each identity constraint per element declaration in the instance document to store the information for this identity constraint.
Note: The component performing identity constraint collection and validation is responsible for providing an implementation of this interface. The component is also responsible for performing the necessary checks required by each type of identity constraint.
Method Summary | |
void |
addValue(Field field,
java.lang.Object actualValue)
Adds the specified value to the value store. |
void |
reportError(java.lang.String key,
java.lang.Object[] args)
Since the valueStore will have access to an error reporter, this allows it to be called appropriately. |
Method Detail |
public void addValue(Field field, java.lang.Object actualValue)
field
- The field associated to the value. This reference
is used to ensure that each field only adds a value
once within a selection scope.public void reportError(java.lang.String key, java.lang.Object[] args)
key
- the key of the localized error messageargs
- the list of arguments for substitution.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |