Klasse ChoiceSegmentPath
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.ChoiceSegmentPath
- Alle implementierten Schnittstellen:
ICapsuleCallback
,IGraphCallback
,IParseablePASSProcessModelElement
,IImplementingElement
,IImplementingElementT<IState>
,IPASSProcessModelElement
,IState
,IChoiceSegmentPath
,IMacroState
,IStateReference
,IBehaviorDescribingComponent
,IContainableElement<ISubjectBehavior>
,IHasSimple2DVisualizationBox
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
Class that represents a Choice Segment Path
-
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 final ICompatibilityDictionary<String,
IState> protected IState
protected IState
protected boolean
protected boolean
protected IChoiceSegment
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
KonstruktorBeschreibungChoiceSegmentPath
(IChoiceSegment choiceSegment) ChoiceSegmentPath
(IChoiceSegment choiceSegment, String labelForID, IGuardBehavior guardBehavior, IFunctionSpecification functionSpecification, Set<ITransition> incomingTransition, Set<ITransition> outgoingTransition, Set<IState> containedStates, IState endState, IInitialStateOfChoiceSegmentPath initialStateOfChoiceSegmentPath, boolean isOptionalToEndChoiceSegmentPath, boolean isOptionalToStartChoiceSegmentPath, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) ChoiceSegmentPath
(ISubjectBehavior behavior) Constructor that creates a new empty instance of the Choice Segment Path classChoiceSegmentPath
(ISubjectBehavior behavior, String labelForID, IGuardBehavior guardBehavior, IFunctionSpecification functionSpecification, Set<ITransition> incomingTransition, Set<ITransition> outgoingTransition, Set<IState> containedStates, IState endState, IInitialStateOfChoiceSegmentPath initialStateOfChoiceSegmentPath, boolean isOptionalToEndChoiceSegmentPath, boolean isOptionalToStartChoiceSegmentPath, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addContainedState
(IState containedState) Adds a state to the choice segment pathpublic static CultureInfo customCulture = new CultureInfo("en-US"); static PASSProcessModelElement(){ customCulture.NumberFormat.NumberDecimalSeparator = "Gets all contained statesReturns the ending state for the choice segment pathReturns the initial state for the choice segment pathboolean
Returns whether the path is optional to end or notboolean
Returns whether the path is optional to start or notvoid
notifyModelComponentIDChanged
(String oldID, String newID) 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 state from the pathvoid
removeContainedState
(String id, int removeCascadeDepth) Removes a state from the pathvoid
Removes this element from its containervoid
setContainedBy
(IChoiceSegment container) void
setContainedStates
(Set<IState> containedStates) Overrides the set of states contained in the choice segment pathvoid
setContainedStates
(Set<IState> containedStates, int removeCascadeDepth) Overrides the set of states contained in the choice segment pathvoid
setEndState
(IState state) Sets an ending state for the choice segment pathvoid
setEndState
(IState state, int removeCascadeDepth) Sets an ending state for the choice segment pathvoid
setInitialState
(IState state) Sets an initial state for the choice segment pathvoid
setInitialState
(IState state, int removeCascadeDepth) Sets an initial state for the choice segment pathvoid
setIsOptionalToEndChoiceSegmentPath
(boolean endChoice) Sets whether the path is optional to end or notvoid
setIsOptionalToStartChoiceSegmentPath
(boolean startChoice) Sets whether the path is optional to start or notvoid
updateRemoved
(IPASSProcessModelElement update, IPASSProcessModelElement caller) void
updateRemoved
(IPASSProcessModelElement update, IPASSProcessModelElement caller, int removeCascadeDepth) Von Klasse geerbte Methoden alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.State
addImplementedInterface, addImplementedInterfaceIDReference, addIncomingTransition, addOutgoingTransition, generateAction, generateAction, get2DPageRatio, getAction, getFunctionSpecification, getGuardBehavior, getImplementedInterfaces, getImplementedInterfacesIDReferences, getIncomingTransitions, getOutgoingTransitions, getReferencedMacroBehavior, getReferencedState, getRelative2DHeight, getRelative2DPosX, getRelative2DPosY, getRelative2DWidth, isReference, isStateType, register, removeImplementedInterfaces, removeImplementedInterfaces, removeImplementedInterfacesIDReference, removeIncomingTransition, removeIncomingTransition, removeOutgoingTransition, removeOutgoingTransition, removeStateType, set2DPageRatio, setFunctionSpecification, setFunctionSpecification, setGuardBehavior, setGuardBehavior, setImplementedInterfaces, setImplementedInterfaces, setImplementedInterfacesIDReferences, setIncomingTransitions, setIncomingTransitions, setIsStateType, setOutgoingTransitions, setOutgoingTransitions, setReferencedMacroBehavior, setReferencedMacroBehavior, setReferencedState, setReferencedState, setRelative2DHeight, setRelative2DPosX, setRelative2DPosY, setRelative2DWidth, unregister, unregister
Von Klasse geerbte Methoden alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponent
getContainedBy, getDictionaryOfAllAvailableElements, 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, getExportTag, 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, 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, addOutgoingTransition, getAction, getFunctionSpecification, getGuardBehavior, getIncomingTransitions, getOutgoingTransitions, isStateType, removeIncomingTransition, removeIncomingTransition, removeOutgoingTransition, removeOutgoingTransition, removeStateType, setFunctionSpecification, setFunctionSpecification, setGuardBehavior, setGuardBehavior, setIncomingTransitions, setIncomingTransitions, setIsStateType, setOutgoingTransitions, setOutgoingTransitions
Von Schnittstelle geerbte Methoden alps.java.api.util.IValueChangedObserver
updateAdded
Von Schnittstelle geerbte Methoden alps.java.api.util.IValueChangedPublisher
register, unregister, unregister
-
Felddetails
-
endState
-
initialState
-
isOptionalToStart
protected boolean isOptionalToStart -
isOptionalToEnd
protected boolean isOptionalToEnd -
containedStates
-
segment
-
className
Name of the class, needed for parsing- Siehe auch:
-
-
Konstruktordetails
-
ChoiceSegmentPath
Constructor that creates a new empty instance of the Choice Segment Path class- Parameter:
behavior
-
-
ChoiceSegmentPath
public ChoiceSegmentPath() -
ChoiceSegmentPath
public ChoiceSegmentPath(ISubjectBehavior behavior, String labelForID, IGuardBehavior guardBehavior, IFunctionSpecification functionSpecification, Set<ITransition> incomingTransition, Set<ITransition> outgoingTransition, Set<IState> containedStates, IState endState, IInitialStateOfChoiceSegmentPath initialStateOfChoiceSegmentPath, boolean isOptionalToEndChoiceSegmentPath, boolean isOptionalToStartChoiceSegmentPath, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
ChoiceSegmentPath
public ChoiceSegmentPath(IChoiceSegment choiceSegment, String labelForID, IGuardBehavior guardBehavior, IFunctionSpecification functionSpecification, Set<ITransition> incomingTransition, Set<ITransition> outgoingTransition, Set<IState> containedStates, IState endState, IInitialStateOfChoiceSegmentPath initialStateOfChoiceSegmentPath, boolean isOptionalToEndChoiceSegmentPath, boolean isOptionalToStartChoiceSegmentPath, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
ChoiceSegmentPath
-
-
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 KlasseState
- Gibt zurück:
- The name of the current class
-
getParsedInstance
- Angegeben von:
getParsedInstance
in SchnittstelleIParseablePASSProcessModelElement
- Setzt außer Kraft:
getParsedInstance
in KlasseState
-
setContainedStates
Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Overrides the set of states contained in the choice segment path- Angegeben von:
setContainedStates
in SchnittstelleIChoiceSegmentPath
- Parameter:
containedStates
- the new statesremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setContainedStates
Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Overrides the set of states contained in the choice segment path- Angegeben von:
setContainedStates
in SchnittstelleIChoiceSegmentPath
- Parameter:
containedStates
- the new states
-
addContainedState
Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Adds a state to the choice segment path- Angegeben von:
addContainedState
in SchnittstelleIChoiceSegmentPath
- Parameter:
containedState
- the new state
-
getContainedStates
Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Gets all contained states- Angegeben von:
getContainedStates
in SchnittstelleIChoiceSegmentPath
- Gibt zurück:
- all states
-
removeContainedState
Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Removes a state from the path- Angegeben von:
removeContainedState
in SchnittstelleIChoiceSegmentPath
- Parameter:
id
- the id of the stateremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
removeContainedState
Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Removes a state from the path- Angegeben von:
removeContainedState
in SchnittstelleIChoiceSegmentPath
- Parameter:
id
- the id of the state
-
setEndState
Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Sets an ending state for the choice segment path- Angegeben von:
setEndState
in SchnittstelleIChoiceSegmentPath
- Parameter:
state
- an ending stateremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setEndState
Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Sets an ending state for the choice segment path- Angegeben von:
setEndState
in SchnittstelleIChoiceSegmentPath
- Parameter:
state
- an ending state
-
getEndState
Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Returns the ending state for the choice segment path- Angegeben von:
getEndState
in SchnittstelleIChoiceSegmentPath
- Gibt zurück:
- the ending stat
-
setInitialState
Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Sets an initial state for the choice segment path- Angegeben von:
setInitialState
in SchnittstelleIChoiceSegmentPath
- Parameter:
state
- an initial stateremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setInitialState
Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Sets an initial state for the choice segment path- Angegeben von:
setInitialState
in SchnittstelleIChoiceSegmentPath
- Parameter:
state
- an initial state
-
getInitialState
Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Returns the initial state for the choice segment path- Angegeben von:
getInitialState
in SchnittstelleIChoiceSegmentPath
- Gibt zurück:
- the initial state
-
setIsOptionalToEndChoiceSegmentPath
public void setIsOptionalToEndChoiceSegmentPath(boolean endChoice) Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Sets whether the path is optional to end or not- Angegeben von:
setIsOptionalToEndChoiceSegmentPath
in SchnittstelleIChoiceSegmentPath
- Parameter:
endChoice
- whether the path is optional to end or not
-
getIsOptionalToEndChoiceSegmentPath
public boolean getIsOptionalToEndChoiceSegmentPath()Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Returns whether the path is optional to end or not- Angegeben von:
getIsOptionalToEndChoiceSegmentPath
in SchnittstelleIChoiceSegmentPath
- Gibt zurück:
- whether the path is optional to end or not
-
setIsOptionalToStartChoiceSegmentPath
public void setIsOptionalToStartChoiceSegmentPath(boolean startChoice) Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Sets whether the path is optional to start or not- Angegeben von:
setIsOptionalToStartChoiceSegmentPath
in SchnittstelleIChoiceSegmentPath
- Parameter:
startChoice
- whether the path is optional to start or not
-
getIsOptionalToStartChoiceSegmentPath
public boolean getIsOptionalToStartChoiceSegmentPath()Beschreibung aus Schnittstelle kopiert:IChoiceSegmentPath
Returns whether the path is optional to start or not- Angegeben von:
getIsOptionalToStartChoiceSegmentPath
in SchnittstelleIChoiceSegmentPath
- Gibt zurück:
- whether the path is optional to start or not
-
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:
-
getAllConnectedElements
public Set<IPASSProcessModelElement> getAllConnectedElements(PASSProcessModelElement.ConnectedElementsSetSpecification specification) - Setzt außer Kraft:
getAllConnectedElements
in KlasseState
-
updateRemoved
public void updateRemoved(IPASSProcessModelElement update, IPASSProcessModelElement caller, int removeCascadeDepth) - Angegeben von:
updateRemoved
in SchnittstelleIValueChangedObserver<IPASSProcessModelElement>
- Setzt außer Kraft:
updateRemoved
in KlasseState
-
updateRemoved
- Angegeben von:
updateRemoved
in SchnittstelleIValueChangedObserver<IPASSProcessModelElement>
- Setzt außer Kraft:
updateRemoved
in KlasseState
-
notifyModelComponentIDChanged
- Angegeben von:
notifyModelComponentIDChanged
in SchnittstelleIGraphCallback
- Angegeben von:
notifyModelComponentIDChanged
in SchnittstelleIValueChangedObserver<IPASSProcessModelElement>
- Setzt außer Kraft:
notifyModelComponentIDChanged
in KlasseState
-
setContainedBy
-
getContainedByIChoiceSegment
-
removeFromContainer
public void removeFromContainer()Beschreibung aus Schnittstelle kopiert:IContainableElement
Removes this element from its container- Angegeben von:
removeFromContainer
in SchnittstelleIContainableElement<ISubjectBehavior>
- Setzt außer Kraft:
removeFromContainer
in KlasseBehaviorDescribingComponent
-