Schnittstelle IState
- Alle Superschnittstellen:
IBehaviorDescribingComponent
,IContainableElement<ISubjectBehavior>
,IHasSimple2DVisualizationBox
,IImplementingElement
,IImplementingElementT<IState>
,IPASSProcessModelElement
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
- Alle bekannten Unterschnittstellen:
IChoiceSegment
,IChoiceSegmentPath
,IDoState
,IGenericReturnToOriginReference
,IGroupState
,IGuardReceiveState
,IInitialStateOfChoiceSegmentPath
,IMacroState
,IReceiveState
,ISendState
,IStandardPASSState
,IStatePlaceholder
,IStateReference
- Alle bekannten Implementierungsklassen:
ChoiceSegment
,ChoiceSegmentPath
,DoState
,GenericReturnToOriginReference
,GroupState
,GuardReceiveState
,InitialStateOfChoiceSegmentPath
,MacroState
,ParsedStateReferenceStub
,ReceiveState
,SendState
,StandardPASSState
,State
,StatePlaceholder
public interface IState
extends IBehaviorDescribingComponent, IImplementingElementT<IState>, IHasSimple2DVisualizationBox
Interface to the state class
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypSchnittstelleBeschreibungstatic enum
Represent different types the state can be of. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addIncomingTransition
(ITransition transition) Method that sets the incoming transition attribute of the instancevoid
addOutgoingTransition
(ITransition transition) Method that sets the outgoing transition attribute of the instanceMethod that returns the action attribute (describing the bundle of state and outgoing transitions).Method that returns the function specification attribute of the instanceMethod that returns the guard behavior attribute of the instanceMethod that returns the incoming transition attribute of the instanceMethod that returns the outgoing transition attribute of the instanceboolean
isStateType
(IState.StateType stateType) Checks if the state is of the given typevoid
removeIncomingTransition
(String modelCompID) Deletes a transition from the incoming transitionsvoid
removeIncomingTransition
(String modelCompID, int removeCascadeDepth) Deletes a transition from the incoming transitionsvoid
removeOutgoingTransition
(String modelCompID) Deletes a transition from the outgoing transitionsvoid
removeOutgoingTransition
(String modelCompID, int removeCascadeDepth) Deletes a transition from the outgoing transitionsvoid
removeStateType
(IState.StateType stateType) Removes a type from the list of types this state currently is of.void
setFunctionSpecification
(IFunctionSpecification functionSpecification) Method that sets the function specification attribute of the instancevoid
setFunctionSpecification
(IFunctionSpecification functionSpecification, int removeCascadeDepth) Method that sets the function specification attribute of the instancevoid
setGuardBehavior
(IGuardBehavior guardBehavior) Method that sets the guard behavior attribute of the instancevoid
setGuardBehavior
(IGuardBehavior guardBehavior, int removeCascadeDepth) Method that sets the guard behavior attribute of the instancevoid
setIncomingTransitions
(Set<ITransition> transitions) Overrides the incoming transitions for the statevoid
setIncomingTransitions
(Set<ITransition> transitions, int removeCascadeDepth) Overrides the incoming transitions for the statevoid
setIsStateType
(IState.StateType stateType) ets a new type for this state.void
setOutgoingTransitions
(Set<ITransition> transitions) Overrides the outgoing transitions for the statevoid
setOutgoingTransitions
(Set<ITransition> transitions, int removeCascadeDepth) Overrides the outgoing transitions for the stateVon Schnittstelle geerbte Methoden alps.java.api.util.IContainableElement
getContainedBy, removeFromContainer, setContainedBy
Von Schnittstelle geerbte Methoden alps.java.api.util.IHasSimple2DVisualizationBox
get2DPageRatio, getRelative2DHeight, getRelative2DPosX, getRelative2DPosY, getRelative2DWidth, set2DPageRatio, setRelative2DHeight, setRelative2DPosX, setRelative2DPosY, setRelative2DWidth
Von Schnittstelle geerbte Methoden alps.java.api.StandardPASS.IImplementingElement
addImplementedInterfaceIDReference, getImplementedInterfacesIDReferences, removeImplementedInterfaces, removeImplementedInterfaces, removeImplementedInterfacesIDReference, setImplementedInterfacesIDReferences
Von Schnittstelle geerbte Methoden alps.java.api.StandardPASS.IImplementingElementT
addImplementedInterface, getImplementedInterfaces, setImplementedInterfaces, setImplementedInterfaces
Von Schnittstelle geerbte Methoden alps.java.api.StandardPASS.IPASSProcessModelElement
addComment, addElementWithUnspecifiedRelation, addModelComponentLabel, clearComments, clearModelComponentLabels, createUniqueModelComponentID, createUniqueModelComponentID, createUniqueModelComponentID, getComments, getElementsWithUnspecifiedRelation, getModelComponentID, getModelComponentLabels, getModelComponentLabelsAsStrings, getModelComponentLabelsAsStrings, getUriModelComponentID, removeElementWithUnspecifiedRelation, removeFromEverything, removeFromEverything, removeModelComponentLabel, setElementsWithUnspecifiedRelation, setModelComponentID, setModelComponentLabels
Von Schnittstelle geerbte Methoden alps.java.api.util.IValueChangedObserver
notifyModelComponentIDChanged, updateAdded, updateRemoved, updateRemoved
Von Schnittstelle geerbte Methoden alps.java.api.util.IValueChangedPublisher
register, unregister, unregister
-
Methodendetails
-
addIncomingTransition
Method that sets the incoming transition attribute of the instance- Parameter:
transition
- incoming transition attribute
-
getIncomingTransitions
Map<String,ITransition> getIncomingTransitions() Method that returns the incoming transition attribute of the instance- Gibt zurück:
- The incoming transition attribute of the instance
-
addOutgoingTransition
Method that sets the outgoing transition attribute of the instance- Parameter:
transition
- outgoing transition attribute
-
getOutgoingTransitions
Map<String,ITransition> getOutgoingTransitions() Method that returns the outgoing transition attribute of the instance- Gibt zurück:
- The outgoing transition attribute of the instance
-
setFunctionSpecification
Method that sets the function specification attribute of the instance- Parameter:
functionSpecification
- function specification attributeremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setFunctionSpecification
Method that sets the function specification attribute of the instance- Parameter:
functionSpecification
- function specification attribute
-
getFunctionSpecification
IFunctionSpecification getFunctionSpecification()Method that returns the function specification attribute of the instance- Gibt zurück:
- The function specification attribute of the instance
-
setGuardBehavior
Method that sets the guard behavior attribute of the instance- Parameter:
guardBehavior
- guard behavior attributeremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setGuardBehavior
Method that sets the guard behavior attribute of the instance- Parameter:
guardBehavior
- guard behavior attribute
-
getGuardBehavior
IGuardBehavior getGuardBehavior()Method that returns the guard behavior attribute of the instance- Gibt zurück:
- The guard behavior attribute of the instance
-
getAction
IAction getAction()Method that returns the action attribute (describing the bundle of state and outgoing transitions). No setter exists, because the action is atomatically created and should not be modified.- Gibt zurück:
- The action attribute of the instance
-
isStateType
Checks if the state is of the given type- Parameter:
stateType
- the specified type- Gibt zurück:
- true if the state is of this type
-
setIsStateType
ets a new type for this state. This must not override the old type, a state can have multiple types at once. Used to make state i.e. an EndState, declared finalized, abstract...- Parameter:
stateType
- the new state type
-
removeStateType
Removes a type from the list of types this state currently is of.- Parameter:
stateType
- the type that is removed
-
setOutgoingTransitions
Overrides the outgoing transitions for the state- Parameter:
transitions
- The new outgoing transitionsremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setOutgoingTransitions
Overrides the outgoing transitions for the state- Parameter:
transitions
- The new outgoing transitions
-
setIncomingTransitions
Overrides the incoming transitions for the state- Parameter:
transitions
- The new incoming transitionsremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setIncomingTransitions
Overrides the incoming transitions for the state- Parameter:
transitions
- The new incoming transitions
-
removeOutgoingTransition
Deletes a transition from the outgoing transitions- Parameter:
modelCompID
- The id of the outgoing transitionremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
removeOutgoingTransition
Deletes a transition from the outgoing transitions- Parameter:
modelCompID
- The id of the outgoing transition
-
removeIncomingTransition
Deletes a transition from the incoming transitions- Parameter:
modelCompID
- The id of the incoming transitionremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
removeIncomingTransition
Deletes a transition from the incoming transitions- Parameter:
modelCompID
- The id of the incoming transition
-