Interface SnQualifier
- All Known Implementing Classes:
CurrencySnQualifierProvider.CurrencySnQualifier,LanguageSnQualifierProvider.LanguageSnQualifier,StoreSnQualifierProvider.StoreSnQualifier
public interface SnQualifier
Represents a qualifier. A qualifier can be: a language, a currency, a combination of them, etc.
-
Method Summary
-
Method Details
-
getId
String getId()Returns the qualifier id.- Returns:
- the qualifier id
-
canGetAs
Returns whether the given qualifier class is supported or not.- Returns:
trueif the given qualifier class is supported,falseotherwise
-
getAs
Extracts a value from thisQualifierobject.- Parameters:
qualifierClass- - the qualifier class- Returns:
- the extracted value
- Throws:
IllegalArgumentException- if the qualifier class is not supported
-