org.apache.myfaces.extensions.validator.core.validation.strategy
Interface IdentifiableValidationStrategy
- All Superinterfaces:
- ValidationStrategy
- All Known Implementing Classes:
- AbstractVirtualValidationStrategy
public interface IdentifiableValidationStrategy
- extends ValidationStrategy
if an adapter (ValidationStrategy only used for component initialization) is used for several constraints, this
interface allows to identify instances.
For the moment only used for JSR-303 validation strategies.
- Since:
- x.x.3
- Author:
- Gerhard Petracek
Field Summary |
static String |
ID_PREFIX
Separator used in the unique key that identifies validationStrategyName when multiple constraints are processed
by a MetaDataTransformer. |
Method Summary |
String |
getId()
Returns the unique part of the key of the validationStrategyName when multiple constraints are processed
by a MetaDataTransformer. |
ID_PREFIX
static final String ID_PREFIX
- Separator used in the unique key that identifies validationStrategyName when multiple constraints are processed
by a MetaDataTransformer.
- See Also:
DefaultMetaDataTransformerFactory
,
Constant Field Values
getId
String getId()
- Returns the unique part of the key of the validationStrategyName when multiple constraints are processed
by a MetaDataTransformer.
- Returns:
- Unique String to identify the Validation.
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.