Package de.mid.innovator.srv2api.icw2im
Interface IMConstraintAssign
-
- All Superinterfaces:
ADClientAble,ADFindAble,ADHistoryAble,ADM2AttrModifyAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELObject,ELUUIDAble,MEConstraintAssign,MEModelElement
public interface IMConstraintAssign extends ADHistoryAble, MEConstraintAssign
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIMConstraintAssign.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetCheckDelete()It indicates if the constraint will be checked caused by a delete action.booleangetCheckInsert()It indicates if the constraint will be checked caused by an insert action.K_CHECK_TIMEgetCheckTime()It indicates if the constraint is checked immediately before or after the action or at the end of transaction.booleangetCheckUpdate()It indicates if the constraint will be checked caused by an update action.<T extends IMClassifier>
java.util.List<T>getConstrainedClassifier(java.lang.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>
java.util.List<T>getConstrainedClassifier(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)The method calls getConstrainedClassifier and filters its return values according to the given stereotype value.IMClassifiergetDirectlyConstrainedClassifier()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, 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.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify
-
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.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAssign
getConstraint, getConstraintAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColor
-
-
-
-
Method Detail
-
getCheckTime
K_CHECK_TIME getCheckTime() throws InoNetException, SrvErrorException
It indicates if the constraint is checked immediately before or after the action or at the end of transaction.- Throws:
InoNetExceptionSrvErrorException
-
setCheckTime
void setCheckTime(K_CHECK_TIME value) throws InoNetException, SrvErrorException
Set the value of Attribut CheckTime.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getCheckInsert
boolean getCheckInsert() throws InoNetException, SrvErrorExceptionIt indicates if the constraint will be checked caused by an insert action.- Throws:
InoNetExceptionSrvErrorException
-
setCheckInsert
void setCheckInsert(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut CheckInsert.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getCheckUpdate
boolean getCheckUpdate() throws InoNetException, SrvErrorExceptionIt indicates if the constraint will be checked caused by an update action.- Throws:
InoNetExceptionSrvErrorException
-
setCheckUpdate
void setCheckUpdate(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut CheckUpdate.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getCheckDelete
boolean getCheckDelete() throws InoNetException, SrvErrorExceptionIt indicates if the constraint will be checked caused by a delete action.- Throws:
InoNetExceptionSrvErrorException
-
setCheckDelete
void setCheckDelete(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut CheckDelete.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getConstrainedClassifier
<T extends IMClassifier> java.util.List<T> getConstrainedClassifier(java.lang.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> java.util.List<T> getConstrainedClassifier(java.lang.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
IMClassifier getDirectlyConstrainedClassifier() throws InoNetException, SrvErrorException
TheIMClassifierof thisIMConstraintAssign.- Throws:
InoNetExceptionSrvErrorException
-
-