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.String
ATT_CATEGORYTYPE
protected static java.lang.String
ATT_CONFIGURATION
protected static java.lang.String
ATT_CONNECTIONTYPE
protected static java.lang.String
ATT_DBTYPE
protected static java.lang.String
ATT_DESCID
protected static java.lang.String
ATT_IDNAME
protected static java.lang.String
ATT_NAME
protected static java.lang.String
ATT_STDLOGIN
static java.lang.String
NODE_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 void
addAltConnection(AltConnectionInfo connection)
void
addAltDBParamSection(AltDBParamSectionInfoList dbParamSection)
void
addConnection(ConnectionInfo connection)
void
addDBParamSection(DBParamSectionInfoList dbParamSection)
AbstractConfigurationElement.FilteredList
getAltConnectionList()
AbstractConfigurationElement.FilteredList
getAltDBParamSectionList()
int
getCateType()
int
getConfiguration()
AbstractConfigurationElement.FilteredList
getConnectionList()
int
getConnType()
AbstractConfigurationElement.FilteredList
getDBParamSectionList()
java.lang.String
getDBType()
DBVersionsInfoList
getDBVersions()
int
getDescId()
java.lang.String
getIDName()
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.java.lang.String
getName()
int
getStdLogin()
void
setCateType(int value)
void
setConfiguration(int value)
void
setConnType(int value)
void
setDBType(java.lang.String dbt)
void
setDescId(int value)
void
setIDName(java.lang.String value)
void
setName(java.lang.String value)
void
setStdLogin(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: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)
-
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)
-
-