Package de.mid.innovator.srv2api.icw2db
Interface DBConnection
-
- All Superinterfaces:
ADAccessAble
,ADClientAble
,ADFindAble
,ADHistoryAble
,ADLockAble
,ADM2AttrModifyAble
,ADOptionAble
,ADVersionAble
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELNamedElement
,ELNamespaceAsgnAble
,ELObject
,ELPackageAble
,ELUUIDAble
public interface DBConnection extends ADClientAble, ADVersionAble
ADBConnection
holds all data needed to connect a real Database System.- See Also:
DBConnectionHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DBConnection.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCatalog()
Catalog of database elements covered by thisDBConnection
.java.lang.String
getConnectionHeader()
Connection Header of thisDBConnection
.java.lang.String
getDatabase()
Database of database elements covered by thisDBConnection
.java.lang.String
getDatabaseSystem()
Database System connected by thisDBConnection
.java.lang.String
getDriverFile()
Driver file of thisDBConnection
.java.lang.String
getDriverName()
Driver name of thisDBConnection
.java.lang.String
getExtendedConfiguration()
Extended Configuration of thisDBConnection
.boolean
getIntegratedSecurity()
If true, use integrated authentication for database access.
This property is provided by some database systems, like SQL Server.ARG_ModifyDBConnection
getModifyConnection()
Get all properties of theDBConnection
.ADXModel
getOwningModel()
TheADXModel
owning thisDBConnection
.java.lang.String
getPassword()
Password of the connecting user.java.lang.String
getPort()
Port number of this thisDBConnection
.java.lang.String
getSchema()
Schema of database elements covered by thisDBConnection
.java.lang.String
getServer()
Server connected by thisDBConnection
.java.lang.String
getUser()
Connecting user.void
modifyConnection(ARG_ModifyDBConnection valDBConnection)
Set all properties of theDBConnection
.void
setCatalog(java.lang.String value)
Set the value of Attribut Catalog.void
setConnectionHeader(java.lang.String value)
Set the value of Attribut ConnectionHeader.void
setDatabase(java.lang.String value)
Set the value of Attribut Database.void
setDatabaseSystem(java.lang.String value)
Set the value of Attribut DatabaseSystem.void
setDriverFile(java.lang.String value)
Set the value of Attribut DriverFile.void
setDriverName(java.lang.String value)
Set the value of Attribut DriverName.void
setExtendedConfiguration(java.lang.String value)
Set the value of Attribut ExtendedConfiguration.void
setIntegratedSecurity(boolean value)
Set the value of Attribut IntegratedSecurity.void
setPassword(java.lang.String value)
Set the value of Attribut Password.void
setPort(java.lang.String value)
Set the value of Attribut Port.void
setSchema(java.lang.String value)
Set the value of Attribut Schema.void
setServer(java.lang.String value)
Set the value of Attribut Server.void
setUser(java.lang.String value)
Set the value of Attribut User.-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADAccessAble
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRole
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDia
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistory
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADLockAble
getLock, getLockableCache, getLockLogin, getLockName, hasClutch, hasLock, hasNoLock, hasOthLock, hasOwnLock, isLockable, lock, unlock
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADOptionAble
getOwnedOption, modifyOptionDlg
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble
getVersionFile, getVersionList, getVersionListWithoutOpenInfo
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContents
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
delete
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnit
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKind
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackage
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
-
-
-
Method Detail
-
getDatabaseSystem
java.lang.String getDatabaseSystem() throws InoNetException, SrvErrorException
Database System connected by thisDBConnection
.- Throws:
InoNetException
SrvErrorException
-
setDatabaseSystem
void setDatabaseSystem(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut DatabaseSystem.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getDriverName
java.lang.String getDriverName() throws InoNetException, SrvErrorException
Driver name of thisDBConnection
.- Throws:
InoNetException
SrvErrorException
-
setDriverName
void setDriverName(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut DriverName.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getDriverFile
java.lang.String getDriverFile() throws InoNetException, SrvErrorException
Driver file of thisDBConnection
.- Throws:
InoNetException
SrvErrorException
-
setDriverFile
void setDriverFile(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut DriverFile.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getServer
java.lang.String getServer() throws InoNetException, SrvErrorException
Server connected by thisDBConnection
.- Throws:
InoNetException
SrvErrorException
-
setServer
void setServer(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut Server.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getConnectionHeader
java.lang.String getConnectionHeader() throws InoNetException, SrvErrorException
Connection Header of thisDBConnection
.- Throws:
InoNetException
SrvErrorException
-
setConnectionHeader
void setConnectionHeader(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut ConnectionHeader.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getPort
java.lang.String getPort() throws InoNetException, SrvErrorException
Port number of this thisDBConnection
.- Throws:
InoNetException
SrvErrorException
-
setPort
void setPort(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut Port.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getIntegratedSecurity
boolean getIntegratedSecurity() throws InoNetException, SrvErrorException
If true, use integrated authentication for database access.
This property is provided by some database systems, like SQL Server.- Throws:
InoNetException
SrvErrorException
-
setIntegratedSecurity
void setIntegratedSecurity(boolean value) throws InoNetException, SrvErrorException
Set the value of Attribut IntegratedSecurity.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getDatabase
java.lang.String getDatabase() throws InoNetException, SrvErrorException
Database of database elements covered by thisDBConnection
.- Throws:
InoNetException
SrvErrorException
-
setDatabase
void setDatabase(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut Database.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getCatalog
java.lang.String getCatalog() throws InoNetException, SrvErrorException
Catalog of database elements covered by thisDBConnection
.- Throws:
InoNetException
SrvErrorException
-
setCatalog
void setCatalog(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut Catalog.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getSchema
java.lang.String getSchema() throws InoNetException, SrvErrorException
Schema of database elements covered by thisDBConnection
.- Throws:
InoNetException
SrvErrorException
-
setSchema
void setSchema(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut Schema.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getUser
java.lang.String getUser() throws InoNetException, SrvErrorException
Connecting user.- Throws:
InoNetException
SrvErrorException
-
setUser
void setUser(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut User.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getPassword
java.lang.String getPassword() throws InoNetException, SrvErrorException
Password of the connecting user.- Throws:
InoNetException
SrvErrorException
-
setPassword
void setPassword(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut Password.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getExtendedConfiguration
java.lang.String getExtendedConfiguration() throws InoNetException, SrvErrorException
Extended Configuration of thisDBConnection
.- Throws:
InoNetException
SrvErrorException
-
setExtendedConfiguration
void setExtendedConfiguration(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut ExtendedConfiguration.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getModifyConnection
ARG_ModifyDBConnection getModifyConnection() throws InoNetException, SrvErrorException
Get all properties of theDBConnection
.- Throws:
InoNetException
SrvErrorException
-
modifyConnection
void modifyConnection(ARG_ModifyDBConnection valDBConnection) throws InoNetException, SrvErrorException
Set all properties of theDBConnection
.- Parameters:
valDBConnection
- properties of the database connection- Throws:
InoNetException
SrvErrorException
-
getOwningModel
ADXModel getOwningModel() throws InoNetException, SrvErrorException
TheADXModel
owning thisDBConnection
.- Throws:
InoNetException
SrvErrorException
-
-