Package de.mid.innovator.srv2api.icw2im
Interface IMConstraintAssign
- All Superinterfaces:
ADClientAble,ADFindAble,ADHistoryAble,ADM2AttrModifyAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELObject,ELUUIDAble,MEConstraintAssign,MEModelElement
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanIt indicates if the constraint will be checked caused by a delete action.booleanIt indicates if the constraint will be checked caused by an insert action.It indicates if the constraint is checked immediately before or after the action or at the end of transaction.booleanIt indicates if the constraint will be checked caused by an update action.<T extends IMClassifier>
List<T> getConstrainedClassifier(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) Gets all classifiers constrained by thisIMConstraintAssign, directly or indirectly via owned properties or used data types.<T extends IMClassifier>
List<T> getConstrainedClassifier(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getConstrainedClassifier and filters its return values according to the given stereotype value.TheIMClassifierof thisIMConstraintAssign.voidsetCheckDelete(boolean value) Set the value of Attribut CheckDelete.voidsetCheckInsert(boolean value) Set the value of Attribut CheckInsert.voidsetCheckTime(K_CHECK_TIME value) Set the value of Attribut CheckTime.voidsetCheckUpdate(boolean value) Set the value of Attribut CheckUpdate.Methods 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.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods 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.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAssign
getConstraint, getConstraintAbleMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getDataModel, getDataModelName, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColor
-
Method Details
-
getCheckTime
It indicates if the constraint is checked immediately before or after the action or at the end of transaction.- Throws:
InoNetExceptionSrvErrorException
-
setCheckTime
Set the value of Attribut CheckTime.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getCheckInsert
It indicates if the constraint will be checked caused by an insert action.- Throws:
InoNetExceptionSrvErrorException
-
setCheckInsert
Set the value of Attribut CheckInsert.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getCheckUpdate
It indicates if the constraint will be checked caused by an update action.- Throws:
InoNetExceptionSrvErrorException
-
setCheckUpdate
Set the value of Attribut CheckUpdate.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getCheckDelete
It indicates if the constraint will be checked caused by a delete action.- Throws:
InoNetExceptionSrvErrorException
-
setCheckDelete
Set the value of Attribut CheckDelete.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getConstrainedClassifier
<T extends IMClassifier> List<T> getConstrainedClassifier(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException Gets all classifiers constrained by thisIMConstraintAssign, directly or indirectly via owned properties or used data types.- 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
-
getConstrainedClassifier
<T extends IMClassifier> List<T> getConstrainedClassifier(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getConstrainedClassifier and filters its return values according to the given stereotype value.- Parameters:
returnType- Specifies the type of elements to be returned.stereotype- The stereotype used to filter the result listbehaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getDirectlyConstrainedClassifier
TheIMClassifierof thisIMConstraintAssign.- Throws:
InoNetExceptionSrvErrorException
-