Klasse ReceiveState
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.ReceiveState
- Alle implementierten Schnittstellen:
ICapsuleCallback
,IGraphCallback
,IParseablePASSProcessModelElement
,IImplementingElement
,IImplementingElementT<IState>
,IPASSProcessModelElement
,IState
,ICanBeEndState
,IMacroState
,IReceiveState
,IStandardPASSState
,IStateReference
,IBehaviorDescribingComponent
,IContainableElement<ISubjectBehavior>
,IHasSimple2DVisualizationBox
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
- Bekannte direkte Unterklassen:
GuardReceiveState
Class that represents a receive state
-
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 double
private final String
Name of the class, needed for parsingprotected String
protected String
private static final Logger
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
KonstruktorBeschreibungReceiveState
(ISubjectBehavior behavior) ReceiveState
(ISubjectBehavior behavior, String labelForID, IGuardBehavior guardBehavior, IReceiveFunction functionSpecification, Set<ITransition> incomingTransition, Set<ITransition> outgoingTransition, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addOutgoingTransition
(ITransition transition) Method that sets the outgoing transition attribute of the instancepublic static CultureInfo customCulture = new CultureInfo("en-US"); static PASSProcessModelElement(){ customCulture.NumberFormat.NumberDecimalSeparator = "protected String
Method that returns the function specification attribute of the instancedouble
To Define whether the waiting time here is factored into the cost calculation (e.g. if the subject carrier can use the time otherwise, this value is 0% and waiting is not factored into the active time and cost for the subject exectuion.With a value of 100% the subject carrier is considered to be waiting actively and may not do other tasks therefore costing the timeboolean
direct way to determin the whether this state is of the EndState type.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
removeStateType
(IState.StateType stateType) Removes a type from the list of types this state currently is of.void
setEndState
(boolean isEndState) Support Function that allows to easily set this Do State to be an End State Removes or adds the StateType.EndState from this states end Statesvoid
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
setSiSiBilledWaitingTime
(double value) To Define whether the waiting time here is factored into the cost calculation (e.g. if the subject carrier can use the time otherwise, this value is 0% and waiting is not factored into the active time and cost for the subject exectuion.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
-
_billedWaitingTime
private double _billedWaitingTime -
logger
-
-
Konstruktordetails
-
ReceiveState
public ReceiveState() -
ReceiveState
public ReceiveState(ISubjectBehavior behavior, String labelForID, IGuardBehavior guardBehavior, IReceiveFunction functionSpecification, Set<ITransition> incomingTransition, Set<ITransition> outgoingTransition, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
ReceiveState
-
-
Methodendetails
-
getSisiBilledWaitingTime
public double getSisiBilledWaitingTime()Beschreibung aus Schnittstelle kopiert:IReceiveState
To Define whether the waiting time here is factored into the cost calculation (e.g. if the subject carrier can use the time otherwise, this value is 0% and waiting is not factored into the active time and cost for the subject exectuion.With a value of 100% the subject carrier is considered to be waiting actively and may not do other tasks therefore costing the time- Angegeben von:
getSisiBilledWaitingTime
in SchnittstelleIReceiveState
- Gibt zurück:
-
setSiSiBilledWaitingTime
public void setSiSiBilledWaitingTime(double value) Beschreibung aus Schnittstelle kopiert:IReceiveState
To Define whether the waiting time here is factored into the cost calculation (e.g. if the subject carrier can use the time otherwise, this value is 0% and waiting is not factored into the active time and cost for the subject exectuion. With a value of 100% the subject carrier is considered to be waiting actively and may not do other tasks therefore costing the time- Angegeben von:
setSiSiBilledWaitingTime
in SchnittstelleIReceiveState
- Parameter:
value
- value must be between 0 and 1
-
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
-
getParsedInstance
- Angegeben von:
getParsedInstance
in SchnittstelleIParseablePASSProcessModelElement
- Setzt außer Kraft:
getParsedInstance
in KlasseStandardPASSState
-
getExportTag
- Setzt außer Kraft:
getExportTag
in KlassePASSProcessModelElement
-
getFunctionSpecification
Beschreibung aus Schnittstelle kopiert:IState
Method that returns the function specification attribute of the instance- Angegeben von:
getFunctionSpecification
in SchnittstelleIReceiveState
- 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 SchnittstelleIReceiveState
- 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 SchnittstelleIReceiveState
- 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
-
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
-
setEndState
public void setEndState(boolean isEndState) Beschreibung aus Schnittstelle kopiert:IReceiveState
Support Function that allows to easily set this Do State to be an End State Removes or adds the StateType.EndState from this states end States- Angegeben von:
setEndState
in SchnittstelleICanBeEndState
- Angegeben von:
setEndState
in SchnittstelleIReceiveState
- Parameter:
isEndState
- true= make this State an end state, false = remove end-State status
-
isEndState
public boolean isEndState()Beschreibung aus Schnittstelle kopiert:ICanBeEndState
direct way to determin the whether this state is of the EndState type.- Angegeben von:
isEndState
in SchnittstelleICanBeEndState
- Gibt zurück:
- True if this state has the StateType.EndState attribute
-