Klasse SendState
java.lang.Object
alps.java.api.StandardPASS.PASSProcessModelElement
alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponent
alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.State
alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.States.StandardPASSState
alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.States.SendState
- Alle implementierten Schnittstellen:
ICapsuleCallback
,IGraphCallback
,IParseablePASSProcessModelElement
,IImplementingElement
,IImplementingElementT<IState>
,IPASSProcessModelElement
,IState
,IMacroState
,ISendState
,IStandardPASSState
,IStateReference
,IBehaviorDescribingComponent
,IContainableElement<ISubjectBehavior>
,IHasSimple2DVisualizationBox
,IHasSiSiCostPerExecution
,IHasSiSiDistribution.IHasDuration
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen alps.java.api.StandardPASS.PASSProcessModelElement
PASSProcessModelElement.ConnectedElementsSetSpecification, PASSProcessModelElement.ObserverInformType
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.IState
IState.StateType
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprivate final String
Name of the class, needed for parsingprotected String
protected String
private static final Logger
protected double
protected ISiSiTimeDistribution
Von Klasse geerbte Felder alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.State
action, functionSpecification, guardBehavior, implCapsule, incomingTransitions, outgoingTransitions, referenceMacroBehavior, referenceState, STATE_REF_CLASS_NAME, stateReferences, stateTypes
Von Klasse geerbte Felder alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponent
subjectBehavior
Von Klasse geerbte Felder alps.java.api.StandardPASS.PASSProcessModelElement
additionalAttributeTriples, additionalElements, additionalIncompleteTriples, BASE_URI_PLACEHOLDER, CANNOT_PARSE, comments, customLocale, EXAMPLE_BASE_URI, exportGraph, exportSubjectNodeName, guid, modelComponentID, modelComponentLabels, observerList, parsingStarted
-
Konstruktorübersicht
KonstruktorBeschreibungSendState
(ISubjectBehavior behavior) SendState
(ISubjectBehavior behavior, String labelForID, IGuardBehavior guardBehavior, ISendFunction functionSpecification, Set<ITransition> incomingTransition, ISendTransition sendTransition, Set<ISendingFailedTransition> sendingFailedTransitions, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addOutgoingTransition
(ITransition transition) Method that sets the outgoing transition attribute of the instancevoid
addSendingFailedTransition
(ISendingFailedTransition sendingFailedTransition) Method that adds a sending failed transition to the set of sending failed transitionspublic static CultureInfo customCulture = new CultureInfo("en-US"); static PASSProcessModelElement(){ customCulture.NumberFormat.NumberDecimalSeparator = "protected String
Method that returns the function specification attribute of the instanceMethod that sets the sending failed transition attribute of the instanceMethod that returns the send transition attribute of the instancedouble
The expected cost per Exectuion for a stateFor simple simulation of processes: The (expected) transmission time of this kind of message.protected boolean
parseAttribute
(String predicate, String objectContent, String lang, String dataType, IParseablePASSProcessModelElement element) Gets called while parsing a triple from a set of triples where this element is subject.void
Removes a sending failed transition of the statevoid
removeSendingFailedTransition
(String id, int removeCascadingDepth) Removes a sending failed transition of the statevoid
removeStateType
(IState.StateType stateType) Removes a type from the list of types this state currently is of.void
setFunctionSpecification
(IFunctionSpecification specification) Method that sets the function specification attribute of the instancevoid
setFunctionSpecification
(IFunctionSpecification specification, int removeCascadingDepth) Method that sets the function specification attribute of the instancevoid
setIsStateType
(IState.StateType stateType) ets a new type for this state.void
setSendingFailedTransitions
(Set<ISendingFailedTransition> transitions) Overrides all sending failed transitions for the statevoid
setSendingFailedTransitions
(Set<ISendingFailedTransition> transitions, int removeCascadingDepth) Overrides all sending failed transitions for the statevoid
setSendTransition
(ISendTransition sendTransition) Method that sets the send transition attribute of the instancevoid
setSendTransition
(ISendTransition sendTransition, int removeCascadingDepth) Method that sets the send transition attribute of the instancevoid
setSisiCostPerExecution
(double sisiCostPerExecution) The expected cost per Exectuion for a statvoid
setSisiExecutionDuration
(ISiSiTimeDistribution sisiExecutionDuration) For simple simulation of processes: The (expected) transmission time of this kind of message.Von Klasse geerbte Methoden alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.State
addImplementedInterface, addImplementedInterfaceIDReference, addIncomingTransition, generateAction, generateAction, get2DPageRatio, getAction, getAllConnectedElements, getGuardBehavior, getImplementedInterfaces, getImplementedInterfacesIDReferences, getIncomingTransitions, getOutgoingTransitions, getReferencedMacroBehavior, getReferencedState, getRelative2DHeight, getRelative2DPosX, getRelative2DPosY, getRelative2DWidth, isReference, isStateType, notifyModelComponentIDChanged, register, removeImplementedInterfaces, removeImplementedInterfaces, removeImplementedInterfacesIDReference, removeIncomingTransition, removeIncomingTransition, removeOutgoingTransition, removeOutgoingTransition, set2DPageRatio, setGuardBehavior, setGuardBehavior, setImplementedInterfaces, setImplementedInterfaces, setImplementedInterfacesIDReferences, setIncomingTransitions, setIncomingTransitions, setOutgoingTransitions, setOutgoingTransitions, setReferencedMacroBehavior, setReferencedMacroBehavior, setReferencedState, setReferencedState, setRelative2DHeight, setRelative2DPosX, setRelative2DPosY, setRelative2DWidth, unregister, unregister, updateRemoved, updateRemoved
Von Klasse geerbte Methoden alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponent
getContainedBy, getDictionaryOfAllAvailableElements, removeFromContainer, setContainedBy
Von Klasse geerbte Methoden alps.java.api.StandardPASS.PASSProcessModelElement
addComment, addComment, addElementWithUnspecifiedRelation, addIncompleteTriples, addModelComponentLabel, addModelComponentLabel, addTriple, addTriple, addTriples, canParse, clearComments, clearModelComponentLabels, completeIncompleteTriple, completeObject, containsTriple, createUniqueModelComponentID, createUniqueModelComponentID, createUniqueModelComponentID, equals, getBaseURI, getComments, getElementsWithUnspecifiedRelation, getIncompleteTriple, getIncompleteTriples, getModelComponentID, getModelComponentLabels, getModelComponentLabelsAsStrings, getModelComponentLabelsAsStrings, getSubjectName, getTriple, getTriples, getUriModelComponentID, informObserverAboutConnectedObjects, informObserverAboutConnectedObjects, invalidateTriplesContainingString, notifyTriple, parseAttribute, parseAttribute, publishElementAdded, publishElementRemoved, publishElementRemoved, publishNewModelComponentID, removeElementWithUnspecifiedRelation, removeFromEverything, removeFromEverything, removeModelComponentLabel, removeTriple, replaceTriple, setElementsWithUnspecifiedRelation, setExportGraph, setExportXMLName, setModelComponentID, setModelComponentLabels, successfullyParsedElement, updateAdded
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von 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.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.IState
addIncomingTransition, getAction, getGuardBehavior, getIncomingTransitions, getOutgoingTransitions, isStateType, removeIncomingTransition, removeIncomingTransition, removeOutgoingTransition, removeOutgoingTransition, setGuardBehavior, setGuardBehavior, setIncomingTransitions, setIncomingTransitions, setOutgoingTransitions, setOutgoingTransitions
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
-
Felddetails
-
className
Name of the class, needed for parsing- Siehe auch:
-
exportTag
-
exportClassname
-
sisiExecutionDuration
-
sisiCostPerExecution
protected double sisiCostPerExecution -
logger
-
-
Konstruktordetails
-
SendState
public SendState() -
SendState
public SendState(ISubjectBehavior behavior, String labelForID, IGuardBehavior guardBehavior, ISendFunction functionSpecification, Set<ITransition> incomingTransition, ISendTransition sendTransition, Set<ISendingFailedTransition> sendingFailedTransitions, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
SendState
-
-
Methodendetails
-
getClassName
Beschreibung aus Klasse kopiert:PASSProcessModelElement
public static CultureInfo customCulture = new CultureInfo("en-US"); static PASSProcessModelElement(){ customCulture.NumberFormat.NumberDecimalSeparator = "."; }- Angegeben von:
getClassName
in SchnittstelleIParseablePASSProcessModelElement
- Setzt außer Kraft:
getClassName
in KlasseStandardPASSState
- Gibt zurück:
- The name of the current class
-
getExportTag
- Setzt außer Kraft:
getExportTag
in KlassePASSProcessModelElement
-
getParsedInstance
- Angegeben von:
getParsedInstance
in SchnittstelleIParseablePASSProcessModelElement
- Setzt außer Kraft:
getParsedInstance
in KlasseStandardPASSState
-
getFunctionSpecification
Beschreibung aus Schnittstelle kopiert:IState
Method that returns the function specification attribute of the instance- Angegeben von:
getFunctionSpecification
in SchnittstelleISendState
- Angegeben von:
getFunctionSpecification
in SchnittstelleIState
- Setzt außer Kraft:
getFunctionSpecification
in KlasseState
- Gibt zurück:
- The function specification attribute of the instance
-
setFunctionSpecification
public void setFunctionSpecification(IFunctionSpecification specification, int removeCascadingDepth) Beschreibung aus Schnittstelle kopiert:IState
Method that sets the function specification attribute of the instance- Angegeben von:
setFunctionSpecification
in SchnittstelleISendState
- Angegeben von:
setFunctionSpecification
in SchnittstelleIState
- Setzt außer Kraft:
setFunctionSpecification
in KlasseState
- Parameter:
specification
- function specification attributeremoveCascadingDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setFunctionSpecification
Beschreibung aus Schnittstelle kopiert:IState
Method that sets the function specification attribute of the instance- Angegeben von:
setFunctionSpecification
in SchnittstelleISendState
- Angegeben von:
setFunctionSpecification
in SchnittstelleIState
- Setzt außer Kraft:
setFunctionSpecification
in KlasseState
- Parameter:
specification
- function specification attribute
-
addOutgoingTransition
Beschreibung aus Schnittstelle kopiert:IState
Method that sets the outgoing transition attribute of the instance- Angegeben von:
addOutgoingTransition
in SchnittstelleIState
- Setzt außer Kraft:
addOutgoingTransition
in KlasseState
- Parameter:
transition
- outgoing transition attribute
-
setSendTransition
Beschreibung aus Schnittstelle kopiert:ISendState
Method that sets the send transition attribute of the instance- Angegeben von:
setSendTransition
in SchnittstelleISendState
- Parameter:
sendTransition
- the send transitionremoveCascadingDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setSendTransition
Beschreibung aus Schnittstelle kopiert:ISendState
Method that sets the send transition attribute of the instance- Angegeben von:
setSendTransition
in SchnittstelleISendState
- Parameter:
sendTransition
- the send transition
-
getSendTransition
Beschreibung aus Schnittstelle kopiert:ISendState
Method that returns the send transition attribute of the instance- Angegeben von:
getSendTransition
in SchnittstelleISendState
- Gibt zurück:
- The send transition attribute of the instance
-
addSendingFailedTransition
Beschreibung aus Schnittstelle kopiert:ISendState
Method that adds a sending failed transition to the set of sending failed transitions- Angegeben von:
addSendingFailedTransition
in SchnittstelleISendState
- Parameter:
sendingFailedTransition
- the transition that is executed when the sending of a message fails
-
getSendingFailedTransitions
Beschreibung aus Schnittstelle kopiert:ISendState
Method that sets the sending failed transition attribute of the instance- Angegeben von:
getSendingFailedTransitions
in SchnittstelleISendState
- Gibt zurück:
- The sending failed transition attribute of the instance
-
removeSendingFailedTransition
Beschreibung aus Schnittstelle kopiert:ISendState
Removes a sending failed transition of the state- Angegeben von:
removeSendingFailedTransition
in SchnittstelleISendState
- Parameter:
id
- the id of the transitionremoveCascadingDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
removeSendingFailedTransition
Beschreibung aus Schnittstelle kopiert:ISendState
Removes a sending failed transition of the state- Angegeben von:
removeSendingFailedTransition
in SchnittstelleISendState
- Parameter:
id
- the id of the transition
-
setSendingFailedTransitions
public void setSendingFailedTransitions(Set<ISendingFailedTransition> transitions, int removeCascadingDepth) Beschreibung aus Schnittstelle kopiert:ISendState
Overrides all sending failed transitions for the state- Angegeben von:
setSendingFailedTransitions
in SchnittstelleISendState
- Parameter:
transitions
- the transition that are executed when the sending of a message failsremoveCascadingDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setSendingFailedTransitions
Beschreibung aus Schnittstelle kopiert:ISendState
Overrides all sending failed transitions for the state- Angegeben von:
setSendingFailedTransitions
in SchnittstelleISendState
- Parameter:
transitions
- the transition that are executed when the sending of a message fails
-
parseAttribute
protected boolean parseAttribute(String predicate, String objectContent, String lang, String dataType, IParseablePASSProcessModelElement element) Beschreibung aus Klasse kopiert:PASSProcessModelElement
Gets called while parsing a triple from a set of triples where this element is subject. The predicate and objectContent are derived directly from the triple, lang and dataType might be null (they will never both be NonNull at the same time) If the object specifies an uri to another element and the collection of all available elements contains this element, the element is passed as well- Setzt außer Kraft:
parseAttribute
in KlasseState
- Parameter:
predicate
- the predicate contained by the tripleobjectContent
- the content of the object contained by the triplelang
- the lang attribute of the object if one was specifieddataType
- the datatype attribute of the object if one was specifiedelement
- the element the objectContent points to (if it does and the element exists)- Gibt zurück:
-
setIsStateType
Beschreibung aus Schnittstelle kopiert:IState
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...- Angegeben von:
setIsStateType
in SchnittstelleIState
- Setzt außer Kraft:
setIsStateType
in KlasseState
- Parameter:
stateType
- the new state type
-
removeStateType
Beschreibung aus Schnittstelle kopiert:IState
Removes a type from the list of types this state currently is of.- Angegeben von:
removeStateType
in SchnittstelleIState
- Setzt außer Kraft:
removeStateType
in KlasseState
- Parameter:
stateType
- the type that is removed
-
getSisiExecutionDuration
Beschreibung aus Schnittstelle kopiert:IHasSiSiDistribution.IHasDuration
For simple simulation of processes: The (expected) transmission time of this kind of message. Necessary only for simulation purposes- Angegeben von:
getSisiExecutionDuration
in SchnittstelleIHasSiSiDistribution.IHasDuration
- Gibt zurück:
-
setSisiExecutionDuration
Beschreibung aus Schnittstelle kopiert:IHasSiSiDistribution.IHasDuration
For simple simulation of processes: The (expected) transmission time of this kind of message. Necessary only for simulation purposes- Angegeben von:
setSisiExecutionDuration
in SchnittstelleIHasSiSiDistribution.IHasDuration
-
getSisiCostPerExecution
public double getSisiCostPerExecution()Beschreibung aus Schnittstelle kopiert:IHasSiSiCostPerExecution
The expected cost per Exectuion for a state- Angegeben von:
getSisiCostPerExecution
in SchnittstelleIHasSiSiCostPerExecution
- Gibt zurück:
-
setSisiCostPerExecution
public void setSisiCostPerExecution(double sisiCostPerExecution) Beschreibung aus Schnittstelle kopiert:IHasSiSiCostPerExecution
The expected cost per Exectuion for a stat- Angegeben von:
setSisiCostPerExecution
in SchnittstelleIHasSiSiCostPerExecution
- Parameter:
sisiCostPerExecution
- The expected cost per Exectuion for a stat
-