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
A
DBConnection holds all data needed to connect a real Database System.- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfilter()Filter to restrict relevant elements.Catalog of database elements covered by thisDBConnection.Connection Header of thisDBConnection.Database of database elements covered by thisDBConnection.Database System connected by thisDBConnection.Driver file of thisDBConnection.Driver name of thisDBConnection.Extended Configuration of thisDBConnection.booleanIf true, use integrated authentication for database access.
This property is provided by some database systems, like SQL Server.Get all properties of theDBConnection.TheADXModelowning thisDBConnection.Password of the connecting user.getPort()Port number of this thisDBConnection.Schema of database elements covered by thisDBConnection.Server connected by thisDBConnection.getUser()Connecting user.voidmodifyConnection(ARG_ModifyDBConnection valDBConnection) Set all properties of theDBConnection.voidsetCatalog(String value) Set the value of Attribut Catalog.voidsetConnectionHeader(String value) Set the value of Attribut ConnectionHeader.voidsetDatabase(String value) Set the value of Attribut Database.voidsetDatabaseSystem(String value) Set the value of Attribut DatabaseSystem.voidsetDriverFile(String value) Set the value of Attribut DriverFile.voidsetDriverName(String value) Set the value of Attribut DriverName.voidsetExtendedConfiguration(String value) Set the value of Attribut ExtendedConfiguration.voidSet the value of Attribut Filter.voidsetIntegratedSecurity(boolean value) Set the value of Attribut IntegratedSecurity.voidsetPassword(String value) Set the value of Attribut Password.voidSet the value of Attribut Port.voidSet the value of Attribut Schema.voidSet the value of Attribut Server.voidSet the value of Attribut User.Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADAccessAble
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRoleMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDiaMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistoryMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADLockAble
getLock, getLockableCache, getLockLogin, getLockName, hasClutch, hasLock, hasNoLock, hasOthLock, hasOwnLock, isLockable, lock, unlockMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADOptionAble
getOwnedOption, modifyOptionDlgMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble
getVersionFile, getVersionList, getVersionListWithoutOpenInfoMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
deleteMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getNotificationElement, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnitMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackageMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Method Details
-
getDatabaseSystem
Database System connected by thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setDatabaseSystem
Set the value of Attribut DatabaseSystem.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDriverName
Driver name of thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setDriverName
Set the value of Attribut DriverName.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDriverFile
Driver file of thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setDriverFile
Set the value of Attribut DriverFile.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getServer
Server connected by thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setServer
Set the value of Attribut Server.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getConnectionHeader
Connection Header of thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setConnectionHeader
Set the value of Attribut ConnectionHeader.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getPort
Port number of this thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setPort
Set the value of Attribut Port.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getIntegratedSecurity
If true, use integrated authentication for database access.
This property is provided by some database systems, like SQL Server.- Throws:
InoNetExceptionSrvErrorException
-
setIntegratedSecurity
Set the value of Attribut IntegratedSecurity.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDatabase
Database of database elements covered by thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setDatabase
Set the value of Attribut Database.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getCatalog
Catalog of database elements covered by thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setCatalog
Set the value of Attribut Catalog.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getSchema
Schema of database elements covered by thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setSchema
Set the value of Attribut Schema.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getUser
Connecting user.- Throws:
InoNetExceptionSrvErrorException
-
setUser
Set the value of Attribut User.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getPassword
Password of the connecting user.- Throws:
InoNetExceptionSrvErrorException
-
setPassword
Set the value of Attribut Password.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getExtendedConfiguration
Extended Configuration of thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setExtendedConfiguration
Set the value of Attribut ExtendedConfiguration.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
filter
Filter to restrict relevant elements. Syntax and semantic is determined by the concreteDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setFilter
Set the value of Attribut Filter.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getModifyConnection
Get all properties of theDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
modifyConnection
void modifyConnection(ARG_ModifyDBConnection valDBConnection) throws InoNetException, SrvErrorException Set all properties of theDBConnection.- Parameters:
valDBConnection- properties of the database connection- Throws:
InoNetExceptionSrvErrorException
-
getOwningModel
TheADXModelowning thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-