public class TaxRateLookupConfigurationImpl extends java.lang.Object implements TaxRateLookupConfiguration, java.io.Serializable
ConfigurationHolderDEFAULT_CONFIG_NAME| Constructor and Description |
|---|
TaxRateLookupConfigurationImpl(ConfigurationHolder holder)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Checks if the current instance is equal to the given object or not
|
java.util.Map<java.lang.String,java.lang.String> |
getConfiguration()
Gets configuration properties
|
java.util.Map<java.lang.String,java.lang.String> |
getConfiguration(java.lang.String name)
Finds property value by the given name
|
ConfigurationHolder |
getConfigurationHolder()
Gets the
ConfigurationHolder |
java.util.List<DataSource> |
getDataSources()
Gets the list of
DataSource |
Preferences |
getPreferences()
Gets the default configuration preferences
|
Preferences |
getPreferences(java.lang.String name)
Finds configuration
Preferences by the given name |
RemoteConfiguration |
getRemoteConfiguration()
Gets the
RemoteConfiguration |
int |
hashCode()
Gets hash code
|
public TaxRateLookupConfigurationImpl(ConfigurationHolder holder)
holder - ConfigurationHolder to usepublic java.util.Map<java.lang.String,java.lang.String> getConfiguration()
getConfiguration in interface TaxRateLookupConfigurationpublic java.util.Map<java.lang.String,java.lang.String> getConfiguration(java.lang.String name)
getConfiguration in interface TaxRateLookupConfigurationname - the name of propertypublic Preferences getPreferences(java.lang.String name)
Preferences by the given namegetPreferences in interface TaxRateLookupConfigurationname - the configuration namePreferences for the namepublic Preferences getPreferences()
getPreferences in interface TaxRateLookupConfigurationpublic java.util.List<DataSource> getDataSources()
DataSourcegetDataSources in interface TaxRateLookupConfigurationDataSourcepublic RemoteConfiguration getRemoteConfiguration()
RemoteConfigurationgetRemoteConfiguration in interface TaxRateLookupConfigurationRemoteConfigurationpublic ConfigurationHolder getConfigurationHolder()
ConfigurationHoldergetConfigurationHolder in interface TaxRateLookupConfigurationConfigurationHolderpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - object to checkpublic int hashCode()
hashCode in class java.lang.Object