Package com.microstrategy.web.config
Class DBInfo
- java.lang.Object
 - 
- com.microstrategy.utils.config.AbstractConfigurationElement
 - 
- com.microstrategy.web.config.DBInfo
 
 
 
- 
- All Implemented Interfaces:
 ConfigurationElement,ConfigurationFile,java.lang.Cloneable
public class DBInfo 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_CATEGORYTYPEprotected static java.lang.StringATT_CONFIGURATIONprotected static java.lang.StringATT_CONNECTIONTYPEprotected static java.lang.StringATT_DBTYPEprotected static java.lang.StringATT_DESCIDprotected static java.lang.StringATT_IDNAMEprotected static java.lang.StringATT_NAMEprotected static java.lang.StringATT_STDLOGINstatic java.lang.StringNODE_DB- 
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 DBInfo() 
- 
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()intgetCateType()intgetConfiguration()AbstractConfigurationElement.FilteredListgetConnectionList()intgetConnType()AbstractConfigurationElement.FilteredListgetDBParamSectionList()java.lang.StringgetDBType()DBVersionsInfoListgetDBVersions()intgetDescId()java.lang.StringgetIDName()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.java.lang.StringgetName()intgetStdLogin()voidsetCateType(int value)voidsetConfiguration(int value)voidsetConnType(int value)voidsetDBType(java.lang.String dbt)voidsetDescId(int value)voidsetIDName(java.lang.String value)voidsetName(java.lang.String value)voidsetStdLogin(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_DB
public static final java.lang.String NODE_DB
- See Also:
 - Constant Field Values
 
 
- 
ATT_NAME
protected static final java.lang.String ATT_NAME
- See Also:
 - Constant Field Values
 
 
- 
ATT_IDNAME
protected static final java.lang.String ATT_IDNAME
- See Also:
 - Constant Field Values
 
 
- 
ATT_DESCID
protected static final java.lang.String ATT_DESCID
- See Also:
 - Constant Field Values
 
 
- 
ATT_DBTYPE
protected static final java.lang.String ATT_DBTYPE
- See Also:
 - Constant Field Values
 
 
- 
ATT_CONNECTIONTYPE
protected static final java.lang.String ATT_CONNECTIONTYPE
- See Also:
 - Constant Field Values
 
 
- 
ATT_CATEGORYTYPE
protected static final java.lang.String ATT_CATEGORYTYPE
- See Also:
 - Constant Field Values
 
 
- 
ATT_CONFIGURATION
protected static final java.lang.String ATT_CONFIGURATION
- See Also:
 - Constant Field Values
 
 
- 
ATT_STDLOGIN
protected static final java.lang.String ATT_STDLOGIN
- 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)
 
- 
getDBVersions
public DBVersionsInfoList getDBVersions()
 
- 
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)
 
- 
getIDName
public java.lang.String getIDName()
 
- 
setIDName
public void setIDName(java.lang.String value)
 
- 
getDescId
public int getDescId()
 
- 
setDescId
public void setDescId(int value)
 
- 
getDBType
public java.lang.String getDBType()
 
- 
setDBType
public void setDBType(java.lang.String dbt)
 
- 
getConnType
public int getConnType()
 
- 
getCateType
public int getCateType()
 
- 
setConnType
public void setConnType(int value)
 
- 
setCateType
public void setCateType(int value)
 
- 
getConfiguration
public int getConfiguration()
 
- 
setConfiguration
public void setConfiguration(int value)
 
- 
getStdLogin
public int getStdLogin()
 
- 
setStdLogin
public void setStdLogin(int value)
 
 - 
 
 -