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
public interface DBSQLObject extends ELElement
DBSQLObject
is the superclass of all database elements, which can be assigned by aDBPrivilege
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 Modifier and Type Interface Description static class
DBSQLObject.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<DBPrivilege>
getPrivilege()
List of all privileges of thisDBSQLObject
.<T extends DBSQLObject>
java.util.List<T>getReferencedSQLObject(java.lang.Class<T> returnType)
List of all SQL Objects using thisDBSQLObject
.<T extends DBSQLObject>
java.util.List<T>getReferencingSQLObject(java.lang.Class<T> returnType)
List of all SQL Objects used by thisDBSQLObject
.void
setPrivilege(java.util.List<? extends DBPrivilege> values)
Set the value of Foreign Key Privilege.void
setReferencedSQLObject(java.util.List<? extends DBSQLObject> values)
Set the value of Foreign Key ReferencedSQLObject.void
setReferencingSQLObject(java.util.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, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnit
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
-
-
-
Method Detail
-
getPrivilege
java.util.List<DBPrivilege> getPrivilege() throws InoNetException, SrvErrorException
List of all privileges of thisDBSQLObject
.- Throws:
InoNetException
SrvErrorException
-
setPrivilege
void setPrivilege(java.util.List<? extends DBPrivilege> values) throws InoNetException, SrvErrorException
Set the value of Foreign Key Privilege.- Parameters:
values
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getReferencedSQLObject
<T extends DBSQLObject> java.util.List<T> getReferencedSQLObject(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
List of all SQL Objects using thisDBSQLObject
.- Parameters:
returnType
- Specifies the type of elements to be returned.- Throws:
InoNetException
SrvErrorException
-
setReferencedSQLObject
void setReferencedSQLObject(java.util.List<? extends DBSQLObject> values) throws InoNetException, SrvErrorException
Set the value of Foreign Key ReferencedSQLObject.- Parameters:
values
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getReferencingSQLObject
<T extends DBSQLObject> java.util.List<T> getReferencingSQLObject(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
List of all SQL Objects used by thisDBSQLObject
.- Parameters:
returnType
- Specifies the type of elements to be returned.- Throws:
InoNetException
SrvErrorException
-
setReferencingSQLObject
void setReferencingSQLObject(java.util.List<? extends DBSQLObject> values) throws InoNetException, SrvErrorException
Set the value of Foreign Key ReferencingSQLObject.- Parameters:
values
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
-