Package com.appliedolap.essbase.impl
Class EssApplicationConfigurationImpl
java.lang.Object
com.appliedolap.essbase.impl.EssApplicationConfigurationImpl
- All Implemented Interfaces:
EssApplicationConfiguration
One configuration key on an application: the catalogue entry describing it, and the value this
application gives it if any.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Removes this key from the application's configuration, leaving the setting at whatever default Essbase applies.Gets the application that this configuration item is associated with.What the setting does, in Essbase's own words.A filled-in example, e.g.getKey()Gets the key for this configuration property.How the setting is written, e.g.getValue()Gets the value for this configuration property, or null when this application doesn't set it.booleanWhether the application sets this key - which is exactly whether it has a value here, since this is built by merging the catalogue with the application's configurations.Sets this key on the application, adding it if it wasn't there and replacing the value if it was.toString()
-
Method Details
-
getApplication
Description copied from interface:EssApplicationConfigurationGets the application that this configuration item is associated with.- Specified by:
getApplicationin interfaceEssApplicationConfiguration- Returns:
- the parent application
-
getKey
Description copied from interface:EssApplicationConfigurationGets the key for this configuration property.- Specified by:
getKeyin interfaceEssApplicationConfiguration- Returns:
- the configuration key name
-
getValue
Description copied from interface:EssApplicationConfigurationGets the value for this configuration property, or null when this application doesn't set it.- Specified by:
getValuein interfaceEssApplicationConfiguration- Returns:
- the configuration value, or null
-
getDescription
Description copied from interface:EssApplicationConfigurationWhat the setting does, in Essbase's own words.- Specified by:
getDescriptionin interfaceEssApplicationConfiguration- Returns:
- the description, or null for a key not in the server's catalogue
-
getSyntax
Description copied from interface:EssApplicationConfigurationHow the setting is written, e.g.DATACACHESIZE norCALCCACHE [dbname] TRUE | FALSE. The square brackets and bars are Essbase's notation, not something to send.- Specified by:
getSyntaxin interfaceEssApplicationConfiguration- Returns:
- the syntax, or null
-
getExample
Description copied from interface:EssApplicationConfigurationA filled-in example, e.g.DATACACHESIZE 90M. Worth showing beside the syntax, since the syntax alone rarely settles what a value should look like.- Specified by:
getExamplein interfaceEssApplicationConfiguration- Returns:
- the example, or null
-
isConfigured
public boolean isConfigured()Whether the application sets this key - which is exactly whether it has a value here, since this is built by merging the catalogue with the application's configurations. See the interface note for why the server's ownconfiguredfield is not consulted.- Specified by:
isConfiguredin interfaceEssApplicationConfiguration- Returns:
- true if this application gives the key a value
-
set
Description copied from interface:EssApplicationConfigurationSets this key on the application, adding it if it wasn't there and replacing the value if it was.- Specified by:
setin interfaceEssApplicationConfiguration- Parameters:
value- the value, written asEssApplicationConfiguration.getSyntax()describes- Returns:
- this setting as the server records it afterwards
-
delete
public void delete()Description copied from interface:EssApplicationConfigurationRemoves this key from the application's configuration, leaving the setting at whatever default Essbase applies.- Specified by:
deletein interfaceEssApplicationConfiguration
-
toString
-