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
ADBConnectionholds all data needed to connect a real Database System.- See Also:
DBConnectionHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDBConnection.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCatalog()Catalog of database elements covered by thisDBConnection.java.lang.StringgetConnectionHeader()Connection Header of thisDBConnection.java.lang.StringgetDatabase()Database of database elements covered by thisDBConnection.java.lang.StringgetDatabaseSystem()Database System connected by thisDBConnection.java.lang.StringgetDriverFile()Driver file of thisDBConnection.java.lang.StringgetDriverName()Driver name of thisDBConnection.java.lang.StringgetExtendedConfiguration()Extended Configuration of thisDBConnection.booleangetIntegratedSecurity()If true, use integrated authentication for database access.
This property is provided by some database systems, like SQL Server.ARG_ModifyDBConnectiongetModifyConnection()Get all properties of theDBConnection.ADXModelgetOwningModel()TheADXModelowning thisDBConnection.java.lang.StringgetPassword()Password of the connecting user.java.lang.StringgetPort()Port number of this thisDBConnection.java.lang.StringgetSchema()Schema of database elements covered by thisDBConnection.java.lang.StringgetServer()Server connected by thisDBConnection.java.lang.StringgetUser()Connecting user.voidmodifyConnection(ARG_ModifyDBConnection valDBConnection)Set all properties of theDBConnection.voidsetCatalog(java.lang.String value)Set the value of Attribut Catalog.voidsetConnectionHeader(java.lang.String value)Set the value of Attribut ConnectionHeader.voidsetDatabase(java.lang.String value)Set the value of Attribut Database.voidsetDatabaseSystem(java.lang.String value)Set the value of Attribut DatabaseSystem.voidsetDriverFile(java.lang.String value)Set the value of Attribut DriverFile.voidsetDriverName(java.lang.String value)Set the value of Attribut DriverName.voidsetExtendedConfiguration(java.lang.String value)Set the value of Attribut ExtendedConfiguration.voidsetIntegratedSecurity(boolean value)Set the value of Attribut IntegratedSecurity.voidsetPassword(java.lang.String value)Set the value of Attribut Password.voidsetPort(java.lang.String value)Set the value of Attribut Port.voidsetSchema(java.lang.String value)Set the value of Attribut Schema.voidsetServer(java.lang.String value)Set the value of Attribut Server.voidsetUser(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, SrvErrorExceptionDatabase System connected by thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setDatabaseSystem
void setDatabaseSystem(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut DatabaseSystem.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDriverName
java.lang.String getDriverName() throws InoNetException, SrvErrorExceptionDriver name of thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setDriverName
void setDriverName(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut DriverName.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDriverFile
java.lang.String getDriverFile() throws InoNetException, SrvErrorExceptionDriver file of thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setDriverFile
void setDriverFile(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut DriverFile.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getServer
java.lang.String getServer() throws InoNetException, SrvErrorExceptionServer connected by thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setServer
void setServer(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut Server.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getConnectionHeader
java.lang.String getConnectionHeader() throws InoNetException, SrvErrorExceptionConnection Header of thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setConnectionHeader
void setConnectionHeader(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut ConnectionHeader.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getPort
java.lang.String getPort() throws InoNetException, SrvErrorExceptionPort number of this thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setPort
void setPort(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut Port.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getIntegratedSecurity
boolean getIntegratedSecurity() throws InoNetException, SrvErrorExceptionIf true, use integrated authentication for database access.
This property is provided by some database systems, like SQL Server.- Throws:
InoNetExceptionSrvErrorException
-
setIntegratedSecurity
void setIntegratedSecurity(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut IntegratedSecurity.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDatabase
java.lang.String getDatabase() throws InoNetException, SrvErrorExceptionDatabase of database elements covered by thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setDatabase
void setDatabase(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut Database.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getCatalog
java.lang.String getCatalog() throws InoNetException, SrvErrorExceptionCatalog of database elements covered by thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setCatalog
void setCatalog(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut Catalog.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getSchema
java.lang.String getSchema() throws InoNetException, SrvErrorExceptionSchema of database elements covered by thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setSchema
void setSchema(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut Schema.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getUser
java.lang.String getUser() throws InoNetException, SrvErrorExceptionConnecting user.- Throws:
InoNetExceptionSrvErrorException
-
setUser
void setUser(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut User.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getPassword
java.lang.String getPassword() throws InoNetException, SrvErrorExceptionPassword of the connecting user.- Throws:
InoNetExceptionSrvErrorException
-
setPassword
void setPassword(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut Password.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getExtendedConfiguration
java.lang.String getExtendedConfiguration() throws InoNetException, SrvErrorExceptionExtended Configuration of thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
setExtendedConfiguration
void setExtendedConfiguration(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut ExtendedConfiguration.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getModifyConnection
ARG_ModifyDBConnection getModifyConnection() throws InoNetException, SrvErrorException
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
ADXModel getOwningModel() throws InoNetException, SrvErrorException
TheADXModelowning thisDBConnection.- Throws:
InoNetExceptionSrvErrorException
-
-