public interface ProtocolStateMachine extends StateMachine
A ProtocolStateMachine is always defined in the context of a Classifier. It specifies which BehavioralFeatures of the Classifier can be called in which State and under which conditions, thus specifying the allowed invocation sequences on the Classifier's BehavioralFeatures. A ProtocolStateMachine specifies the possible and permitted Transitions on the instances of its context Classifier, together with the BehavioralFeatures that carry the Transitions. In this manner, an instance lifecycle can be specified for a Classifier, by defining the order in which the BehavioralFeatures can be activated and the States through which an instance progresses during its existence.
The following features are supported:
UMLPackage.getProtocolStateMachine()| Modifier and Type | Method and Description | 
|---|---|
java.util.Collection<Port> | 
get_portOfProtocol()
Returns the value of the 'port Of Protocol' reference list. 
 | 
java.util.Collection<ProtocolConformance> | 
get_protocolConformanceOfGeneralMachine()
Returns the value of the 'protocol Conformance Of General Machine' reference list. 
 | 
java.util.Collection<ProtocolConformance> | 
getConformance()
Returns the value of the 'Conformance' containment reference list. 
 | 
Interface | 
getInterface()
Returns the value of the 'Interface' container reference. 
 | 
boolean | 
has_portOfProtocol()  | 
boolean | 
has_protocolConformanceOfGeneralMachine()  | 
boolean | 
hasConformance()  | 
void | 
setInterface(Interface value)
Sets the value of the ' 
Interface'
 container reference. | 
get_stateMachineOfExtendedStateMachine, getConnectionPoint, getExtendedStateMachine, getRegion, getSubmachineState, has_stateMachineOfExtendedStateMachine, hasConnectionPoint, hasExtendedStateMachine, hasRegion, hasSubmachineStateget_behavioredClassifierOfClassifierBehavior, get_behavioredClassifierOfOwnedBehavior, get_behaviorExecutionSpecificationOfBehavior, get_behaviorOfRedefinedBehavior, get_callBehaviorActionOfBehavior, get_connectorOfContract, get_decisionNodeOfDecisionInput, get_objectFlowOfSelection, get_objectFlowOfTransformation, get_objectNodeOfSelection, get_opaqueExpressionOfBehavior, get_reduceActionOfReducer, get_stateOfDoActivity, get_stateOfEntry, get_stateOfExit, get_transitionOfEffect, getContext, getEvent, getObservation, getOwnedParameter, getOwnedParameterSet, getPostcondition, getPrecondition, getRedefinedBehavior, getSpecification, has_behaviorExecutionSpecificationOfBehavior, has_behaviorOfRedefinedBehavior, has_callBehaviorActionOfBehavior, has_connectorOfContract, has_decisionNodeOfDecisionInput, has_objectFlowOfSelection, has_objectFlowOfTransformation, has_objectNodeOfSelection, has_opaqueExpressionOfBehavior, has_reduceActionOfReducer, hasEvent, hasObservation, hasOwnedParameter, hasOwnedParameterSet, hasPostcondition, hasPrecondition, hasRedefinedBehavior, isReentrant, set_behavioredClassifierOfClassifierBehavior, set_behavioredClassifierOfOwnedBehavior, set_stateOfDoActivity, set_stateOfEntry, set_stateOfExit, set_transitionOfEffect, setReentrant, setSpecificationgetExtension, getNestedClassifier, getOwnedAttribute, getOwnedOperation, getOwnedReception, getSuperClass, hasExtension, hasNestedClassifier, hasOwnedOperation, hasOwnedReception, hasSuperClass, isAbstract, isActive, setAbstract, setActivegetOwnedPort, hasOwnedPortgetOwnedConnector, getPart, getRole, hasOwnedAttribute, hasOwnedConnector, hasPart, hasRoleget_classifierOfRedefinedClassifier, get_classifierTemplateParameterOfConstrainingClassifier, get_componentRealizationOfRealizingClassifier, get_createObjectActionOfClassifier, get_exceptionHandlerOfExceptionType, get_generalizationOfGeneral, get_informationFlowOfConveyed, get_informationItemOfRepresented, get_instanceSpecificationOfClassifier, get_interfaceOfNestedClassifier, get_readExtentActionOfClassifier, get_readIsClassifiedObjectActionOfClassifier, get_reclassifyObjectActionOfNewClassifier, get_reclassifyObjectActionOfOldClassifier, get_redefinableElementOfRedefinitionContext, get_substitutionOfContract, get_unmarshallActionOfUnmarshallType, getAttribute, getCollaborationUse, getFeature, getGeneral, getGeneralization, getInheritedMember, getOwnedTemplateSignature, getOwnedUseCase, getPowertypeExtent, getRedefinedClassifier, getRepresentation, getSubstitution, getTemplateParameter, getUMLClass, getUseCase, has_classifierOfRedefinedClassifier, has_classifierTemplateParameterOfConstrainingClassifier, has_componentRealizationOfRealizingClassifier, has_createObjectActionOfClassifier, has_exceptionHandlerOfExceptionType, has_generalizationOfGeneral, has_informationFlowOfConveyed, has_informationItemOfRepresented, has_instanceSpecificationOfClassifier, has_readExtentActionOfClassifier, has_readIsClassifiedObjectActionOfClassifier, has_reclassifyObjectActionOfNewClassifier, has_reclassifyObjectActionOfOldClassifier, has_redefinableElementOfRedefinitionContext, has_substitutionOfContract, has_unmarshallActionOfUnmarshallType, hasAttribute, hasCollaborationUse, hasFeature, hasGeneral, hasGeneralization, hasInheritedMember, hasOwnedUseCase, hasPowertypeExtent, hasRedefinedClassifier, hasSubstitution, hasUseCase, isFinalSpecialization, set_interfaceOfNestedClassifier, setFinalSpecialization, setOwnedTemplateSignature, setRepresentation, setTemplateParameter, setUMLClassget_associationOfEndType, get_behavioralFeatureOfRaisedException, get_operationOfRaisedException, get_typedElementOfType, getPackage, has_associationOfEndType, has_behavioralFeatureOfRaisedException, has_operationOfRaisedException, has_typedElementOfType, setPackageget_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibilityget_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespaceget_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameterget_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElementget_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalIDgetID, getMDExtension, getMdExtensions, setIDeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliveraccept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetIDrefClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostCompositerefGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValueequals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraintsgetElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImportget_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeafgetTemplateBinding, hasTemplateBinding, setOwnedTemplateSignaturegetClassifierBehavior, getInterfaceRealization, getOwnedBehavior, hasInterfaceRealization, hasOwnedBehavior, setClassifierBehaviorjava.util.Collection<ProtocolConformance> getConformance()
ProtocolConformance.
 It is bidirectional and its opposite is
 'Specific Machine'.
 
 
 
 Conformance between ProtocolStateMachine
 UMLPackage.getProtocolStateMachine_Conformance(), 
ProtocolConformance.getSpecificMachine()java.util.Collection<ProtocolConformance> get_protocolConformanceOfGeneralMachine()
ProtocolConformance.
 It is bidirectional and its opposite is
 'General Machine'.
 
 If the meaning of the 'protocol Conformance Of General Machine' reference list isn't clear, there really should be more of a description here...
UMLPackage.getProtocolStateMachine__protocolConformanceOfGeneralMachine(), 
ProtocolConformance.getGeneralMachine()java.util.Collection<Port> get_portOfProtocol()
Port.
 It is bidirectional and its opposite is 'Protocol'.
 
 If the meaning of the 'port Of Protocol' reference list isn't clear, there really should be more of a description here...
UMLPackage.getProtocolStateMachine__portOfProtocol(), 
Port.getProtocol()@CheckForNull Interface getInterface()
Protocol'.
 
 
 
 Specifies the namespace in which the protocol state machine is defined.
 setInterface(Interface), 
UMLPackage.getProtocolStateMachine_Interface(), 
Interface.getProtocol()void setInterface(@CheckForNull
                  Interface value)
Interface'
 container reference.
 
 value - the new value of the 'Interface' container reference.getInterface()boolean hasConformance()
                throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean has_protocolConformanceOfGeneralMachine()
                                         throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean has_portOfProtocol()
                    throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException