Package de.mid.innovator.srv2api.icw2db
Interface DBSQLObject
- All Known Subinterfaces:
DBCheckConstraint,DBColumn,DBColumnSet,DBForeignKey,DBIndex,DBIndexedColumn,DBPackage,DBSQLGeneric,DBStoredProcedure,DBTable,DBTableColumn,DBTrigger,DBUniqueKey,DBView,DBViewColumn,DBViewFrom,DBViewSubselectFrom
DBSQLObject is the superclass of all database elements, which can be assigned by a DBPrivilege to grant or revoke user access.
SQL objects can reference each other, if there exist a configured relationship.- Note:
- The interface DBSQLObject describes an abstract ability of an object. Therefore no instances of this type can be found in the repository!
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionList of all privileges of thisDBSQLObject.<T extends DBSQLObject>
List<T> getReferencedSQLObject(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) List of all SQL Objects using thisDBSQLObject.<T extends DBSQLObject>
List<T> getReferencingSQLObject(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) List of all SQL Objects used by thisDBSQLObject.voidsetPrivilege(List<? extends DBPrivilege> values) Set the value of Foreign Key Privilege.voidsetReferencedSQLObject(List<? extends DBSQLObject> values) Set the value of Foreign Key ReferencedSQLObject.voidsetReferencingSQLObject(List<? extends DBSQLObject> values) Set the value of Foreign Key ReferencingSQLObject.Methods 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.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Method Details
-
getPrivilege
List of all privileges of thisDBSQLObject.- Throws:
InoNetExceptionSrvErrorException
-
setPrivilege
Set the value of Foreign Key Privilege.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getReferencedSQLObject
<T extends DBSQLObject> List<T> getReferencedSQLObject(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException List of all SQL Objects using thisDBSQLObject.- Parameters:
returnType- Specifies the type of elements to be returned.behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
setReferencedSQLObject
void setReferencedSQLObject(List<? extends DBSQLObject> values) throws InoNetException, SrvErrorException Set the value of Foreign Key ReferencedSQLObject.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getReferencingSQLObject
<T extends DBSQLObject> List<T> getReferencingSQLObject(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException List of all SQL Objects used by thisDBSQLObject.- Parameters:
returnType- Specifies the type of elements to be returned.behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
setReferencingSQLObject
void setReferencingSQLObject(List<? extends DBSQLObject> values) throws InoNetException, SrvErrorException Set the value of Foreign Key ReferencingSQLObject.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-