public interface ValueStore
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.
Modifier and Type | Method and Description |
---|---|
void |
addValue(Field field,
boolean mayMatch,
java.lang.Object actualValue,
short valueType,
org.apache.xerces.xs.ShortList itemValueType)
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.
|
void addValue(Field field, boolean mayMatch, java.lang.Object actualValue, short valueType, org.apache.xerces.xs.ShortList itemValueType)
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.mayMatch
- a flag indiciating whether the field may be matched.actualValue
- The value to add.valueType
- Type of the value to add.itemValueType
- If the value is a list, a list of types for each of the values in the list.void reportError(java.lang.String key, java.lang.Object[] args)
key
- the key of the localized error messageargs
- the list of arguments for substitution.Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.