|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CurrencyContainer
Interface to mark fields whose definition contain a currency. Note that if a field has a currency and it is optional, and the actual field has not set the optional currency/ies then the call currencies() will return an empty list
Method Summary | |
---|---|
java.util.List<java.util.Currency> |
currencies()
Utility method that creates a Currency for every string returned by currencyStrings() |
java.util.Currency |
currency()
Analog to currencyString() |
java.lang.String |
currencyString()
Get the single currency contained in this field. |
java.util.List<java.lang.String> |
currencyStrings()
Get a list of strings of currencies present in this field |
void |
initializeCurrencies(java.util.Currency cur)
|
void |
initializeCurrencies(java.lang.String cur)
set the currency of this field. |
Methods inherited from interface com.prowidesoftware.swift.model.field.PatternContainer |
---|
componentsPattern, parserPattern |
Method Detail |
---|
java.util.List<java.lang.String> currencyStrings()
java.lang.String currencyString()
java.util.List<java.util.Currency> currencies()
currencyStrings()
java.util.Currency currency()
currencyString()
currencyStrings()
,
currencyString()
void initializeCurrencies(java.lang.String cur)
void initializeCurrencies(java.util.Currency cur)
initializeCurrencies(String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |