org.eclipse.ocl.examples.pivot
Interface Pseudostate

All Superinterfaces:
DomainElement, DomainNamedElement, Element, org.eclipse.emf.ecore.EObject, Nameable, NamedElement, org.eclipse.emf.common.notify.Notifier, PivotObject, Vertex, Visitable
All Known Implementing Classes:
PseudostateImpl

public interface Pseudostate
extends Vertex

A representation of the model object 'Pseudostate'. A pseudostate is an abstraction that encompasses different types of transient vertices in the state machine graph.

The following features are supported:

See Also:
PivotPackage.getPseudostate()
Generated

Method Summary
 PseudostateKind getKind()
          Returns the value of the 'Kind' attribute.
 State getState()
          Returns the value of the 'State' container reference.
 StateMachine getStateMachine()
          Returns the value of the 'State Machine' reference.
 void setKind(PseudostateKind value)
          Sets the value of the 'Kind' attribute.
 void setState(State value)
          Sets the value of the 'State' container reference.
 void setStateMachine(StateMachine value)
          Sets the value of the 'State Machine' reference.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Vertex
getContainer, getIncoming, getOutgoing, setContainer
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
getName, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, getETarget, getExtension, getOwnedAnnotation, getOwnedComment, getValue
 
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
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 

Method Detail

getKind

PseudostateKind getKind()
Returns the value of the 'Kind' attribute. The default value is "initial". The literals are from the enumeration PseudostateKind. Determines the precise type of the Pseudostate and can be one of: entryPoint, exitPoint, initial, deepHistory, shallowHistory, join, fork, junction, terminate or choice.

Returns:
the value of the 'Kind' attribute.
See Also:
PseudostateKind, setKind(PseudostateKind), PivotPackage.getPseudostate_Kind()
Generated

setKind

void setKind(PseudostateKind value)
Sets the value of the 'Kind' attribute.

Parameters:
value - the new value of the 'Kind' attribute.
See Also:
PseudostateKind, getKind()
Generated

getStateMachine

StateMachine getStateMachine()
Returns the value of the 'State Machine' reference. The StateMachine in which this Pseudostate is defined. This only applies to Pseudostates of the kind entryPoint or exitPoint.

Returns:
the value of the 'State Machine' reference.
See Also:
setStateMachine(StateMachine), PivotPackage.getPseudostate_StateMachine()
Generated

setStateMachine

void setStateMachine(StateMachine value)
Sets the value of the 'State Machine' reference.

Parameters:
value - the new value of the 'State Machine' reference.
See Also:
getStateMachine()
Generated

getState

State getState()
Returns the value of the 'State' container reference. It is bidirectional and its opposite is 'Connection Point'. The State that owns this pseudostate and in which it appears.

Returns:
the value of the 'State' container reference.
See Also:
setState(State), PivotPackage.getPseudostate_State(), State.getConnectionPoint()
Generated

setState

void setState(State value)
Sets the value of the 'State' container reference.

Parameters:
value - the new value of the 'State' container reference.
See Also:
getState()
Generated