org.eclipse.uml2.uml
Interface ProtocolConformance

All Superinterfaces:
DirectedRelationship, Element, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, Relationship

public interface ProtocolConformance
extends DirectedRelationship

A representation of the model object 'Protocol Conformance'. A ProtocolStateMachine can be redefined into a more specific ProtocolStateMachine or into behavioral StateMachine. ProtocolConformance declares that the specific ProtocolStateMachine specifies a protocol that conforms to the general ProtocolStateMachine or that the specific behavioral StateMachine abides by the protocol of the general ProtocolStateMachine.

From package UML::StateMachines.

The following features are supported:

See Also:
UMLPackage.getProtocolConformance()

Method Summary
 ProtocolStateMachine getGeneralMachine()
          Returns the value of the 'General Machine' reference.
 ProtocolStateMachine getSpecificMachine()
          Returns the value of the 'Specific Machine' container reference.
 void setGeneralMachine(ProtocolStateMachine value)
          Sets the value of the 'General Machine' reference
 void setSpecificMachine(ProtocolStateMachine value)
          Sets the value of the 'Specific Machine' container reference
 
Methods inherited from interface org.eclipse.uml2.uml.DirectedRelationship
getSources, getTargets
 
Methods inherited from interface org.eclipse.uml2.uml.Relationship
getRelatedElements
 
Methods inherited from interface org.eclipse.uml2.uml.Element
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getGeneralMachine

ProtocolStateMachine getGeneralMachine()
Returns the value of the 'General Machine' reference.

This feature subsets the following features:

Specifies the ProtocolStateMachine to which the specific ProtocolStateMachine conforms.

From package UML::StateMachines.

Returns:
the value of the 'General Machine' reference.
See Also:
setGeneralMachine(ProtocolStateMachine), UMLPackage.getProtocolConformance_GeneralMachine()

setGeneralMachine

void setGeneralMachine(ProtocolStateMachine value)
Sets the value of the 'General Machine' reference.

Parameters:
value - the new value of the 'General Machine' reference.
See Also:
getGeneralMachine()

getSpecificMachine

ProtocolStateMachine getSpecificMachine()
Returns the value of the 'Specific Machine' container reference. It is bidirectional and its opposite is 'Conformance'.

This feature subsets the following features:

Specifies the ProtocolStateMachine which conforms to the general ProtocolStateMachine.

From package UML::StateMachines.

Returns:
the value of the 'Specific Machine' container reference.
See Also:
setSpecificMachine(ProtocolStateMachine), UMLPackage.getProtocolConformance_SpecificMachine(), ProtocolStateMachine.getConformances()

setSpecificMachine

void setSpecificMachine(ProtocolStateMachine value)
Sets the value of the 'Specific Machine' container reference.

Parameters:
value - the new value of the 'Specific Machine' container reference.
See Also:
getSpecificMachine()

Copyright 2003, 2014 IBM Corporation, CEA, and others.
All Rights Reserved.