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.String
ATT_DEFAULTDBVERSION
protected static java.lang.String
ATT_DSNLESS
protected static java.lang.String
ATT_LIVECONNECTWITHCACHE
protected static java.lang.String
ATT_NAME
protected static java.lang.String
ATT_PARAMETERIZEDQUERIES
protected static java.lang.String
ATT_UNIXENCODING
protected static java.lang.String
ATT_VALUE
static java.lang.String
NODE_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 void
addAltConnection(AltConnectionInfo connection)
void
addAltDBParamSection(AltDBParamSectionInfoList dbParamSection)
void
addConnection(ConnectionInfo connection)
void
addDBParamSection(DBParamSectionInfoList dbParamSection)
AbstractConfigurationElement.FilteredList
getAltConnectionList()
AbstractConfigurationElement.FilteredList
getAltDBParamSectionList()
AbstractConfigurationElement.FilteredList
getConnectionList()
AbstractConfigurationElement.FilteredList
getDBParamSectionList()
boolean
getDefaultdbversion()
boolean
getDsnLess()
protected java.lang.String
getKeyAttribute()
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 thegetKey
andsetKey
methods.int
getLiveConnectWithCacheAttr()
java.lang.String
getName()
int
getParameterizedQueries()
int
getUnixEncoding()
int
getValue()
void
resetDsnless()
set the dsnless of dbVersion to false if the dsnless of this dbVersion is unsetvoid
setDefaultdbversion(boolean value)
void
setDsnLess(boolean value)
void
setName(java.lang.String value)
void
setParameterizedQueries(int value)
void
setUnixEncoding(int value)
void
setValue(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:AbstractConfigurationElement
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 thegetKey
andsetKey
methods.- Specified by:
getKeyAttribute
in 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
-
-