Package com.microstrategy.web.config
Class DBVersionInfo
- java.lang.Object
 - 
- com.microstrategy.utils.config.AbstractConfigurationElement
 - 
- com.microstrategy.web.config.DBVersionInfo
 
 
 
- 
- All Implemented Interfaces:
 ConfigurationElement,ConfigurationFile,java.lang.Cloneable
public class DBVersionInfo extends AbstractConfigurationElement
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
AbstractConfigurationElement.FilteredList 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringATT_DEFAULTDBVERSIONprotected static java.lang.StringATT_DSNLESSprotected static java.lang.StringATT_LIVECONNECTWITHCACHEprotected static java.lang.StringATT_NAMEprotected static java.lang.StringATT_PARAMETERIZEDQUERIESprotected static java.lang.StringATT_UNIXENCODINGprotected static java.lang.StringATT_VALUEstatic java.lang.StringNODE_DBVERSION- 
Fields inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
ATT_CONFIG_SRC, ATT_DELETED, ATT_POSITION, ATT_PROTOTYPE, ATT_USE_DEFAULT 
 - 
 
- 
Constructor Summary
Constructors Constructor Description DBVersionInfo() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAltConnection(AltConnectionInfo connection)voidaddAltDBParamSection(AltDBParamSectionInfoList dbParamSection)voidaddConnection(ConnectionInfo connection)voidaddDBParamSection(DBParamSectionInfoList dbParamSection)AbstractConfigurationElement.FilteredListgetAltConnectionList()AbstractConfigurationElement.FilteredListgetAltDBParamSectionList()AbstractConfigurationElement.FilteredListgetConnectionList()AbstractConfigurationElement.FilteredListgetDBParamSectionList()booleangetDefaultdbversion()booleangetDsnLess()protected java.lang.StringgetKeyAttribute()This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override thegetKeyandsetKeymethods.intgetLiveConnectWithCacheAttr()java.lang.StringgetName()intgetParameterizedQueries()intgetUnixEncoding()intgetValue()voidresetDsnless()set the dsnless of dbVersion to false if the dsnless of this dbVersion is unsetvoidsetDefaultdbversion(boolean value)voidsetDsnLess(boolean value)voidsetName(java.lang.String value)voidsetParameterizedQueries(int value)voidsetUnixEncoding(int value)voidsetValue(int value)- 
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
addFileSource, applyCustomization, applyCustomizations, cleanUpDeletedElements, clone, delete, deltas, deltas, equalAtts, equalElements, equalNodeValues, equals, equalsIncludingDeletedElements, exportAttributesToXML, exportElementsToXML, exportNodeValueToXML, getAttribute, getAttributes, getBoolAttribute, getChildKey, getConfigSrc, getDTDFileName, getElement, getElement, getElements, getFileLoader, getIntAttribute, getIntAttribute, getKey, getLineNumber, getList, getNextKey, getNodeName, getNodeValue, getNodeValue, getOrCreateElement, getParent, getPosition, getPrototype, getRegisteredClass, getSelfInitPath, getSource, getStrAttribute, getUseDefault, getXMLParserParameters, getXMLSerializerParameters, hashCode, hashCodeAtts, hashCodeElements, hashCodeNodeValues, hasRegisteredClass, initAttributesFromXML, initDefaultAttributes, initElementFromXML, initElementsFromXML, initFromFile, initFromResource, initFromXML, initFromXML, initNodeValueFromXML, initPrototype, isActive, isCustomized, isDeleted, isDirty, isInSource, isKeyAttribute, load, mergeChanges, newChildInstance, newSource, original, populate, printAttributes, printElements, printNodeValue, refreshLists, registerClass, registerElement, registerElement, registerElementList, reload, reloadPrototype, removeAttribute, removeDefaults, replaceList, restore, save, save, saveChangesAs, saveConfig, saveFlatXML, saveNode, saveSource, setAttribute, setBoolAttribute, setChildOriginals, setConfigSrc, setCustomized, setElement, setFileLoader, setIntAttribute, setKey, setLineNumber, setNodeName, setNodeValue, setPosition, setPrototype, setSelfInitPath, setStrAttribute, setUseDefault, setUseValidation, throwConfigParseException, toString, toXML, toXML, toXML, toXML, useNodeValue, useValidation 
 - 
 
 - 
 
- 
- 
Field Detail
- 
NODE_DBVERSION
public static final java.lang.String NODE_DBVERSION
- See Also:
 - Constant Field Values
 
 
- 
ATT_NAME
protected static final java.lang.String ATT_NAME
- See Also:
 - Constant Field Values
 
 
- 
ATT_VALUE
protected static final java.lang.String ATT_VALUE
- See Also:
 - Constant Field Values
 
 
- 
ATT_DSNLESS
protected static final java.lang.String ATT_DSNLESS
- See Also:
 - Constant Field Values
 
 
- 
ATT_UNIXENCODING
protected static final java.lang.String ATT_UNIXENCODING
- See Also:
 - Constant Field Values
 
 
- 
ATT_PARAMETERIZEDQUERIES
protected static final java.lang.String ATT_PARAMETERIZEDQUERIES
- See Also:
 - Constant Field Values
 
 
- 
ATT_LIVECONNECTWITHCACHE
protected static final java.lang.String ATT_LIVECONNECTWITHCACHE
- See Also:
 - Constant Field Values
 
 
- 
ATT_DEFAULTDBVERSION
protected static final java.lang.String ATT_DEFAULTDBVERSION
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getConnectionList
public AbstractConfigurationElement.FilteredList getConnectionList()
 
- 
addConnection
public void addConnection(ConnectionInfo connection)
 
- 
getAltConnectionList
public AbstractConfigurationElement.FilteredList getAltConnectionList()
 
- 
addAltConnection
public void addAltConnection(AltConnectionInfo connection)
 
- 
getDBParamSectionList
public AbstractConfigurationElement.FilteredList getDBParamSectionList()
 
- 
addDBParamSection
public void addDBParamSection(DBParamSectionInfoList dbParamSection)
 
- 
getAltDBParamSectionList
public AbstractConfigurationElement.FilteredList getAltDBParamSectionList()
 
- 
addAltDBParamSection
public void addAltDBParamSection(AltDBParamSectionInfoList dbParamSection)
 
- 
getKeyAttribute
protected java.lang.String getKeyAttribute()
Description copied from class:AbstractConfigurationElementThis method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override thegetKeyandsetKeymethods.- Specified by:
 getKeyAttributein classAbstractConfigurationElement
 
- 
getName
public java.lang.String getName()
 
- 
setName
public void setName(java.lang.String value)
 
- 
getValue
public int getValue()
 
- 
setValue
public void setValue(int value)
 
- 
getUnixEncoding
public int getUnixEncoding()
 
- 
setUnixEncoding
public void setUnixEncoding(int value)
 
- 
getParameterizedQueries
public int getParameterizedQueries()
 
- 
getLiveConnectWithCacheAttr
public int getLiveConnectWithCacheAttr()
 
- 
setParameterizedQueries
public void setParameterizedQueries(int value)
 
- 
getDsnLess
public boolean getDsnLess()
 
- 
setDsnLess
public void setDsnLess(boolean value)
 
- 
getDefaultdbversion
public boolean getDefaultdbversion()
 
- 
setDefaultdbversion
public void setDefaultdbversion(boolean value)
 
- 
resetDsnless
public void resetDsnless()
set the dsnless of dbVersion to false if the dsnless of this dbVersion is unset 
 - 
 
 -