Package de.mid.innovator.srv2api.icw2sm
Interface SMStateMachine
-
- All Superinterfaces:
ADAccessAble
,ADClientAble
,ADFindAble
,ADHistoryAble
,ADLockAble
,ADM2AttrModifyAble
,ADOptionAble
,ADReferenceAble
,ADVersionAble
,BEBehavior
,CLBehavioredClassifier
,CLClass
,CLClassifier
,CLDeclarationAble
,CLDeclarationAbleClassifier
,CLEncapsulatedClassifier
,CLParameterAble
,CLStructuredClassifier
,CLTemplateAbleElement
,CLTemplateParameterAbleElement
,ELClassifier
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELNamedElement
,ELNamespaceAble
,ELNamespaceAsgnAble
,ELObject
,ELPackageAble
,ELRedefAble
,ELType
,ELUUIDAble
,ELValueContainerAble
,MECommentAble
,MEConstraintAble
,MEModelElement
,MENamedElement
,MENamespaceAble
,MENamespaceAsgnAble
,MEPackageAble
,MEStereotypeAble
,MMAttachmentAble
,MMCommentContainerAble
,MMFormatAble
,MMLabelAble
,MMLabelTextAttachmentAble
,MMMenuAble
,MMStereotypeAble
,MMTextAble
- All Known Subinterfaces:
SMProtocolStateMachine
public interface SMStateMachine extends BEBehavior, MMMenuAble
State machines can be used to express the behavior of part of a system. Behavior is modeled as a traversal of a graph of state nodes interconnected by one or more joined transition arcs that are triggered by the dispatching of series of (event) occurrences. During this traversal, the state machine executes a series of activities associated with various elements of the state machine.- See Also:
SMStateMachineHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SMStateMachine.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SMDia
getDiagram()
The state diagram for this state machine.java.util.List<SMEntryPoint>
getEntryPoint(K_CONTROL_OPTION... behaviourFlags)
The set of entry points owned by the statemachine.java.util.List<SMExitPoint>
getExitPoint(K_CONTROL_OPTION... behaviourFlags)
The set of exit points owned by the state machine.java.util.List<SMProtocolStateMachine>
getGeneral(K_CONTROL_OPTION... behaviourFlags)
The general protocol state machinejava.util.List<SMProtocolStateMachine>
getGeneral(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getGeneral and filters its return values according to the given stereotype value.ARG_PRPresContextLayout
getLayout()
Retrieves the layout information of theSMStateMachine
.java.util.List<SMRegion>
getRegion(K_CONTROL_OPTION... behaviourFlags)
<T extends SMStateMachine>
java.util.List<T>getSubmachine(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
Determines all state machines which are assigned to submachine states of the given state machine.<T extends SMStateMachine>
java.util.List<T>getSubmachine(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getSubmachine and filters its return values according to the given stereotype value.java.util.List<SMRegularState>
getSubmachineState()
All states of this sub state machine.void
layout(java.lang.String format, K_ORIENTATION orientation, int marginLeft, int marginRight, int marginTop, int marginBottom, int horPage, int verPage)
Sets the layout information of theSMStateMachine
.void
setGeneral(java.util.List<? extends SMProtocolStateMachine> values)
Set the value of View General.-
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.ADReferenceAble
getReferenceContainer, setReferenceContainer
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble
getVersionFile, getVersionList, getVersionListWithoutOpenInfo
-
Methods inherited from interface de.mid.innovator.srv2api.icw2be.BEBehavior
getBehavioredClassifier, getBehaviorExecSpec, getBehaviorOwnedRule, getCallBehaviorAction, getConnector, getDecisionNodeR, getDoActivityOwningState, getEntryOwningState, getExitOwningState, getModifyBehaviorDeclaration, getObjectFlowSelectionR, getObjectFlowWithSelection, getObjectFlowWithSelection, getObjectFlowWithTransformation, getObjectFlowWithTransformation, getObjectNodeR, getObjectNodeWithSelection, getObjectNodeWithSelection, getOwnedParameter, getOwningTransition, getPictureRawData, getPostcondition, getPrecondition, getSpecification, isClassifierBehavior, isReentrant, maintain, modifyBehaviorDeclaration, setClassifierBehavior, setReentrant, setSpecification
-
Methods inherited from interface de.mid.innovator.srv2api.icw2class.CLBehavioredClassifier
getClassifierBehavior, getInterfaceRealization, getOwnedBehavior, getOwnedProtocolStateMachine, getOwnedTrigger, getOwnedTrigger
-
Methods inherited from interface de.mid.innovator.srv2api.icw2class.CLClass
getNestedClassifier, getOwnedAttribute, getOwnedOperation, getOwnedReception, isActive, setActive
-
Methods inherited from interface de.mid.innovator.srv2api.icw2class.CLClassifier
dialogFolderRedefine, getAggregatedClassifier, getAggregatedClassifier, getAggregatedOrComposedClassifier, getAggregatedOrComposedClassifier, getAggregatingClassifier, getAggregatingClassifier, getAggregatingOrComposingClassifier, getAggregatingOrComposingClassifier, getClassifierInstance, getClassifierTemplateParameter, getComposedClassifier, getComposedClassifier, getComposingClassifier, getComposingClassifier, getContract, getContract, getContractSubstitution, getCreateObjectAction, getExceptionHandler, getInstSpec, getInterface, getOwnClass, getOwnedRule, getOwnedTemplateParameter, getOwnedUseCase, getProvidedInterface, getProvidedInterface, getProvidedInterfaceDirect, getProvidedInterfaceDirect, getRealizingClassifierRealization, getRequiredInterface, getRequiredInterface, getRequiredInterfaceDirect, getRequiredInterfaceDirect, getSubstitution, getTypedBCProperty, getTypedObjectNode, getTypedParameter, getTypedProperty, getTypedVariable, getTypedVariableDRGElement, getTypedVariableDRGElement, getUnmarshallAction, getUseCase
-
Methods inherited from interface de.mid.innovator.srv2api.icw2class.CLEncapsulatedClassifier
getOwnedPort
-
Methods inherited from interface de.mid.innovator.srv2api.icw2class.CLParameterAble
getFormalParameter, getFormalParameter, getOwnedParam, getOwnedParameterSet, getReturnResult, setOwnedParam
-
Methods inherited from interface de.mid.innovator.srv2api.icw2class.CLStructuredClassifier
getCollaborationUse, getOwnedConnector, getOwnedProperty, getRepresentation
-
Methods inherited from interface de.mid.innovator.srv2api.icw2class.CLTemplateAbleElement
getActualTemplateParameter, getActualTemplateParameter, getOwnedTemplateParameter, getTemplateBindingSource, getTemplateBindingTarget, getTemplateParameter
-
Methods inherited from interface de.mid.innovator.srv2api.icw2class.CLTemplateParameterAbleElement
getActualParameterSubstitution, getOwningTemplateParameter, getTemplateParameter
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELClassifier
getAssociation, getAssociation, getAssociationEndFirstTypedBySelf, getAssociationEndFirstTypedBySelf, getAssociationEndNavigableTypedBySelf, getAssociationEndNavigableTypedBySelf, getAssociationEndNavigableTypedBySelfOrGeneralTransitive, getAssociationEndNavigableTypedBySelfOrGeneralTransitive, getAssociationEndTypedBySelf, getAssociationEndTypedBySelf, getAssociationEndTypedBySelfOrGeneralTransitive, getAssociationEndTypedBySelfOrGeneralTransitive, getAssociationNavigableFrom, getAssociationNavigableFrom, getAssociationOfSelfOrGeneralTransitive, getAssociationOfSelfOrGeneralTransitive, getAssociationTypedBySelf, getAssociationTypedBySelf, getClassifierViewGroup, getEffectiveRedefinerOfAssocEnd, getEffectiveRedefinerOfAssocEnd, getEffectiveSubsetterOfAssocEnd, getEffectiveSubsetterOfAssocEnd, getGeneralDirect, getGeneralDirect, getGeneralGeneralizationSet, getGeneralGeneralizationSet, getGeneralization, getGeneralTransitive, getGeneralTransitive, getItemDefinition, getOwnedAndInheritedMember, getOwnedAndInheritedMember, getPropertyNavigableFrom, getPropertyNavigableFrom, getPropertyNavigableFromSelfOrGeneralTransitive, getPropertyNavigableFromSelfOrGeneralTransitive, getSelfAndGeneralTransitive, getSelfAndGeneralTransitive, getSelfAndSpecificTransitive, getSelfAndSpecificTransitive, getSelfAndSpecificTransitiveNotAbstract, getSelfAndSpecificTransitiveNotAbstract, getSpecialization, getSpecificDirect, getSpecificDirect, getSpecificGeneralization, getSpecificGeneralizationSet, getSpecificGeneralizationSet, getSpecificTransitive, getSpecificTransitive, getSpecificTransitiveNotAbstract, getSpecificTransitiveNotAbstract, getSpecificTransitiveNotAbstractRange, getSpecificTransitiveNotAbstractRange, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEndIntersectedByInverseAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEndIntersectedByInverseAssocEnd, getTypedCLStructureEntry, getTypedMaskField, getTypesOfEffectiveSubsetterOfAssocEnd, getTypesOfEffectiveSubsetterOfAssocEnd, getViewTransitive, getViewTransitive, isAbstract, isRoot, isSpecificTransitive, setAbstract
-
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.ELNamespaceAble
getElementImport, getImportedElement, getImportedElement, getImportedPackage, getImportedPackage, getMember, getMember, getMemberByPattern, getMemberByPattern, getOwnedConstraint, getOwnedMember, getOwnedMemberByPath, getOwnedMemberByPattern, getOwnedMemberByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPatternIgnoreCase, getOwnedMemberTransitiveByPatternIgnoreCase, getPackageImport
-
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.ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefined
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELType
getRaisingAsException, getTypedElement, getTypedElementNotAssocEnd, getTypedElementNotAssocEnd
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble
getAssignedComment, getAssignedComment, getCommentAssign
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssign
-
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
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamedElement
getMappingSourceElement, getMappingSourceElement, getMESupplierDependency, getMESupplierMappingDependency
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAble
getMEOwnedMember, getMEPackageImport
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAsgnAble
getMENamespace, getSignatureMessage
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEPackageAble
getComponent, getManifest
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholder
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachment
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConcept
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMFormatAble
copyFormatDlg, copyFormatRule, getCopyFormatDlgInit, getFormat
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfo
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMenuAble
getMenu, getMenuItem, getMenuItemsForTransform
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMStereotypeAble
assignStereotypeDlg, cloneElement, completelySynchronizeOthers, completelySynchronizeThis, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getOwnedFormat, getOwnedStereotypePropertyValSpec, getOwnedStereotypeTSOptionValSpec, getOwnedSyncedElement, getPropBoolValue, getPropLongValue, getPropStringValue, getPropValueList, getStereoPropValueByPattern, getStereoPropValueByPattern, getStereotype, getStereotypeName, getStereotypeProperty, getStereotypePropertyInfo, getStereotypePropertyNameValue, getStereotypeTSOption, getStereotypeTSOptionBoolValue, getStereotypeTSOptionInfo, getStereotypeTSOptionLongValue, getStereotypeTSOptionNameValue, getStereotypeTSOptionStringValue, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueList, getSyncedElement, getSyncedStereotypeAble, getSyncedStereotypeAble, isCloneAbleElement, modifyStereotypePropertyValuesByName, modifyStereotypeTSOptionValuesByName, setStereotype, setStereotypePropertyInfo, setStereotypeTSOptionInfo, setSyncedStereotypeAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
-
-
-
Method Detail
-
getGeneral
java.util.List<SMProtocolStateMachine> getGeneral(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The general protocol state machine- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getGeneral
java.util.List<SMProtocolStateMachine> getGeneral(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getGeneral and filters its return values according to the given stereotype value.- Parameters:
stereotype
- The stereotype used to filter the result listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
setGeneral
void setGeneral(java.util.List<? extends SMProtocolStateMachine> values) throws InoNetException, SrvErrorException
Set the value of View General.- Parameters:
values
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getSubmachine
<T extends SMStateMachine> java.util.List<T> getSubmachine(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Determines all state machines which are assigned to submachine states of the given state machine.- 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:
InoNetException
SrvErrorException
-
getSubmachine
<T extends SMStateMachine> java.util.List<T> getSubmachine(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getSubmachine 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:
InoNetException
SrvErrorException
-
getLayout
ARG_PRPresContextLayout getLayout() throws InoNetException, SrvErrorException
Retrieves the layout information of theSMStateMachine
.- Throws:
InoNetException
SrvErrorException
-
layout
void layout(java.lang.String format, K_ORIENTATION orientation, int marginLeft, int marginRight, int marginTop, int marginBottom, int horPage, int verPage) throws InoNetException, SrvErrorException
Sets the layout information of theSMStateMachine
.- Parameters:
format
- format of the presentation contextorientation
- orientation of the presentation contextmarginLeft
- margin on the left bordermarginRight
- margin on the right bordermarginTop
- margin on the top bordermarginBottom
- margin on the bottom borderhorPage
- number of horinzontal pagesverPage
- number of vertical pages- Throws:
InoNetException
SrvErrorException
-
getSubmachineState
java.util.List<SMRegularState> getSubmachineState() throws InoNetException, SrvErrorException
All states of this sub state machine.- Throws:
InoNetException
SrvErrorException
-
getRegion
java.util.List<SMRegion> getRegion(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
- Sorted:
- the result may be sorted.
-
getDiagram
SMDia getDiagram() throws InoNetException, SrvErrorException
The state diagram for this state machine.- Throws:
InoNetException
SrvErrorException
-
getEntryPoint
java.util.List<SMEntryPoint> getEntryPoint(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The set of entry points owned by the statemachine.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
- Sorted:
- the result may be sorted.
-
getExitPoint
java.util.List<SMExitPoint> getExitPoint(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The set of exit points owned by the state machine.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
- Sorted:
- the result may be sorted.
-
-