Klasse Transition
java.lang.Object
alps.java.api.StandardPASS.PASSProcessModelElement
alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponent
alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.Transition
- Alle implementierten Schnittstellen:
ICapsuleCallback
,IGraphCallback
,IParseablePASSProcessModelElement
,IAbstractElement
,IImplementingElement
,IImplementingElementT<ITransition>
,IPASSProcessModelElement
,ITransition
,IBehaviorDescribingComponent
,IContainableElement<ISubjectBehavior>
,IHasSimple2DVisualizationLine
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
- Bekannte direkte Unterklassen:
CommunicationTransition
,DoTransition
,FlowRestrictor
,SendingFailedTransition
,TimeTransition
,UserCancelTransition
Class that represents a transition class
-
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.ITransition
ITransition.TransitionType
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprivate final String
protected IAction
private final String
Name of the class, needed for parsingprivate double
private double
private double
private double
private double
protected final IImplementsFunctionalityCapsule<ITransition>
protected boolean
private List<ISimple2DVisualizationPathPoint>
protected IState
protected IState
protected ITransitionCondition
private ITransition.TransitionType
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
KonstruktorBeschreibungTransition
(IState sourceState, IState targetState) Transition
(IState sourceState, IState targetState, String labelForID, ITransitionCondition transitionCondition, ITransition.TransitionType transitionType, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) Transition
(ISubjectBehavior behavior) Transition
(ISubjectBehavior behavior, String labelForID, IState sourceState, IState targetState, ITransitionCondition transitionCondition, ITransition.TransitionType transitionType, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addImplementedInterface
(ITransition implementedInterface) adds an implemented interfacevoid
addImplementedInterfaceIDReference
(String implementedInterfaceID) Adds an implemented interfacevoid
double
The relative positions of the simple 2D Vizualiations are given in % of page hight and width No absolut values are given but a page ratio that defines whether it is a wide or tall formatMethod that returns the action attribute of the instancepublic static CultureInfo customCulture = new CultureInfo("en-US"); static PASSProcessModelElement(){ customCulture.NumberFormat.NumberDecimalSeparator = "Returns the interfaces implemented by this instanceReturns the interfaces implemented by this instancedouble
double
double
double
Method that returns the source state (where the transition is coming from)Method that returns the target state (where the transition is going)Method that returns the transition condition attribute of the instanceReturns the current type of the transitionboolean
Checks whether the element is abstract or notprotected 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 specified interface from the set of implemented interfaces.void
removeImplementedInterfaces
(String id, int removeCascadeDepth) Removes a specified interface from the set of implemented interfaces.void
removeImplementedInterfacesIDReference
(String implementedInterfaceID) Removes a specified interface from the set of implemented interfaces.void
set2DPageRatio
(double has2DPageRatio) protected void
setBelongsToAction
(IAction action) Used to set the action that belongs to this transition.protected void
setBelongsToAction
(IAction action, int removeCascadeDepth) Used to set the action that belongs to this transition.void
setImplementedInterfaces
(Set<ITransition> implementedInterface) Sets the set of implemented interfaces for the instancevoid
setImplementedInterfaces
(Set<ITransition> implementedInterface, int removeCascadeDepth) Sets the set of implemented interfaces for the instancevoid
setImplementedInterfacesIDReferences
(Set<String> implementedInterfacesIDs) Sets the set of implemented interfaces for the instancevoid
setIsAbstract
(boolean isAbstract) Marks/Unmarks the element as abstracvoid
setRelative2DBeginX
(double relative2DBeginX) void
setRelative2DBeginY
(double relative2DBeginY) void
setRelative2DEndX
(double relative2DEndX) void
setRelative2DEndY
(double relative2DEndY) void
setSourceState
(IState sourceState) Method that sets the source state (where the transition is coming from)void
setSourceState
(IState sourceState, int removeCascadeDepth) Method that sets the source state (where the transition is coming from)void
setTargetState
(IState targetState) Method that sets the target state (where the transition is going)void
setTargetState
(IState targetState, int removeCascadeDepth) Method that sets the target state (where the transition is going)void
setTransitionCondition
(ITransitionCondition transitionCondition) Method that sets the transition condition attribute of the instancevoid
setTransitionCondition
(ITransitionCondition transitionCondition, int removeCascadeDepth) Method that sets the transition condition attribute of the instancevoid
Sets a type for the current instancevoid
updateAdded
(IPASSProcessModelElement update, IPASSProcessModelElement caller) void
updateRemoved
(IPASSProcessModelElement update, IPASSProcessModelElement caller) void
updateRemoved
(IPASSProcessModelElement update, IPASSProcessModelElement caller, int removeCascadeDepth) 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, getExportTag, getIncompleteTriple, getIncompleteTriples, getModelComponentID, getModelComponentLabels, getModelComponentLabelsAsStrings, getModelComponentLabelsAsStrings, getSubjectName, getTriple, getTriples, getUriModelComponentID, informObserverAboutConnectedObjects, informObserverAboutConnectedObjects, invalidateTriplesContainingString, notifyModelComponentIDChanged, notifyTriple, parseAttribute, parseAttribute, publishElementAdded, publishElementRemoved, publishElementRemoved, publishNewModelComponentID, register, removeElementWithUnspecifiedRelation, removeFromEverything, removeFromEverything, removeModelComponentLabel, removeTriple, replaceTriple, setElementsWithUnspecifiedRelation, setExportGraph, setExportXMLName, setModelComponentID, setModelComponentLabels, successfullyParsedElement, unregister, unregister
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.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
Von Schnittstelle geerbte Methoden alps.java.api.util.IValueChangedPublisher
register, unregister, unregister
-
Felddetails
-
belongsToAction
-
sourceState
-
targetState
-
transitionCondition
-
transitionType
-
implCapsule
-
isAbstractType
protected boolean isAbstractType -
ABSTRACT_NAME
- Siehe auch:
-
className
Name of the class, needed for parsing- Siehe auch:
-
has2DPageRatio
private double has2DPageRatio -
hasRelative2D_BeginX
private double hasRelative2D_BeginX -
hasRelative2D_BeginY
private double hasRelative2D_BeginY -
hasRelative2D_EndX
private double hasRelative2D_EndX -
hasRelative2D_EndY
private double hasRelative2D_EndY -
pathPoints
-
-
Konstruktordetails
-
Transition
public Transition() -
Transition
public Transition(IState sourceState, IState targetState, String labelForID, ITransitionCondition transitionCondition, ITransition.TransitionType transitionType, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) - Parameter:
sourceState
-targetState
-labelForID
-transitionCondition
-transitionType
-comment
-additionalLabel
-additionalAttribute
-
-
Transition
-
Transition
public Transition(ISubjectBehavior behavior, String labelForID, IState sourceState, IState targetState, ITransitionCondition transitionCondition, ITransition.TransitionType transitionType, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
Transition
-
-
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 KlasseBehaviorDescribingComponent
- Gibt zurück:
- The name of the current class
-
getParsedInstance
- Angegeben von:
getParsedInstance
in SchnittstelleIParseablePASSProcessModelElement
- Setzt außer Kraft:
getParsedInstance
in KlasseBehaviorDescribingComponent
-
setBelongsToAction
Used to set the action that belongs to this transition. Only called from inside the class, should not be visible to the user (the action is set/removed automatically when a source state is added/removed) -
setBelongsToAction
Used to set the action that belongs to this transition. Only called from inside the class, should not be visible to the user (the action is set/removed automatically when a source state is added/removed) -
setSourceState
Beschreibung aus Schnittstelle kopiert:ITransition
Method that sets the source state (where the transition is coming from)- Angegeben von:
setSourceState
in SchnittstelleITransition
- Parameter:
sourceState
- the source stateremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setSourceState
Beschreibung aus Schnittstelle kopiert:ITransition
Method that sets the source state (where the transition is coming from)- Angegeben von:
setSourceState
in SchnittstelleITransition
- Parameter:
sourceState
- the source state
-
setTargetState
Beschreibung aus Schnittstelle kopiert:ITransition
Method that sets the target state (where the transition is going)- Angegeben von:
setTargetState
in SchnittstelleITransition
- Parameter:
removeCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setTargetState
Beschreibung aus Schnittstelle kopiert:ITransition
Method that sets the target state (where the transition is going)- Angegeben von:
setTargetState
in SchnittstelleITransition
-
setTransitionCondition
public void setTransitionCondition(ITransitionCondition transitionCondition, int removeCascadeDepth) Beschreibung aus Schnittstelle kopiert:ITransition
Method that sets the transition condition attribute of the instance- Angegeben von:
setTransitionCondition
in SchnittstelleITransition
- Parameter:
transitionCondition
- the transition conditionremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setTransitionCondition
Beschreibung aus Schnittstelle kopiert:ITransition
Method that sets the transition condition attribute of the instance- Angegeben von:
setTransitionCondition
in SchnittstelleITransition
- Parameter:
transitionCondition
- the transition condition
-
getBelongsToAction
Beschreibung aus Schnittstelle kopiert:ITransition
Method that returns the action attribute of the instance- Angegeben von:
getBelongsToAction
in SchnittstelleITransition
- Gibt zurück:
- The action attribute of the instance
-
getSourceState
Beschreibung aus Schnittstelle kopiert:ITransition
Method that returns the source state (where the transition is coming from)- Angegeben von:
getSourceState
in SchnittstelleITransition
- Gibt zurück:
- The source state attribute of the instance
-
getTargetState
Beschreibung aus Schnittstelle kopiert:ITransition
Method that returns the target state (where the transition is going)- Angegeben von:
getTargetState
in SchnittstelleITransition
- Gibt zurück:
- The target state attribute of the instance
-
getTransitionCondition
Beschreibung aus Schnittstelle kopiert:ITransition
Method that returns the transition condition attribute of the instance- Angegeben von:
getTransitionCondition
in SchnittstelleITransition
- Gibt zurück:
- The transition condition attribute of the instance
-
setTransitionType
Beschreibung aus Schnittstelle kopiert:ITransition
Sets a type for the current instance- Angegeben von:
setTransitionType
in SchnittstelleITransition
- Parameter:
type
- The type
-
getTransitionType
Beschreibung aus Schnittstelle kopiert:ITransition
Returns the current type of the transition- Angegeben von:
getTransitionType
in SchnittstelleITransition
- Gibt zurück:
- the current type
-
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 KlasseBehaviorDescribingComponent
- 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 KlasseBehaviorDescribingComponent
-
updateRemoved
public void updateRemoved(IPASSProcessModelElement update, IPASSProcessModelElement caller, int removeCascadeDepth) - Angegeben von:
updateRemoved
in SchnittstelleIValueChangedObserver<IPASSProcessModelElement>
- Setzt außer Kraft:
updateRemoved
in KlassePASSProcessModelElement
-
updateRemoved
- Angegeben von:
updateRemoved
in SchnittstelleIValueChangedObserver<IPASSProcessModelElement>
- Setzt außer Kraft:
updateRemoved
in KlassePASSProcessModelElement
-
updateAdded
- Angegeben von:
updateAdded
in SchnittstelleIValueChangedObserver<IPASSProcessModelElement>
- Setzt außer Kraft:
updateAdded
in KlassePASSProcessModelElement
-
setIsAbstract
public void setIsAbstract(boolean isAbstract) Beschreibung aus Schnittstelle kopiert:IAbstractElement
Marks/Unmarks the element as abstrac- Angegeben von:
setIsAbstract
in SchnittstelleIAbstractElement
- Parameter:
isAbstract
- whether the element is abstract or not
-
isAbstract
public boolean isAbstract()Beschreibung aus Schnittstelle kopiert:IAbstractElement
Checks whether the element is abstract or not- Angegeben von:
isAbstract
in SchnittstelleIAbstractElement
- Gibt zurück:
- the result of the check
-
setImplementedInterfacesIDReferences
Beschreibung aus Schnittstelle kopiert:IImplementingElement
Sets the set of implemented interfaces for the instance- Angegeben von:
setImplementedInterfacesIDReferences
in SchnittstelleIImplementingElement
- Parameter:
implementedInterfacesIDs
- The set of implemented interfaces
-
addImplementedInterfaceIDReference
Beschreibung aus Schnittstelle kopiert:IImplementingElement
Adds an implemented interface- Angegeben von:
addImplementedInterfaceIDReference
in SchnittstelleIImplementingElement
- Parameter:
implementedInterfaceID
- The set of implemented interfaces
-
removeImplementedInterfacesIDReference
Beschreibung aus Schnittstelle kopiert:IImplementingElement
Removes a specified interface from the set of implemented interfaces.- Angegeben von:
removeImplementedInterfacesIDReference
in SchnittstelleIImplementingElement
- Parameter:
implementedInterfaceID
- the id of the interface that should be removed
-
getImplementedInterfacesIDReferences
Beschreibung aus Schnittstelle kopiert:IImplementingElement
Returns the interfaces implemented by this instance- Angegeben von:
getImplementedInterfacesIDReferences
in SchnittstelleIImplementingElement
- Gibt zurück:
- the implemented interfaces
-
setImplementedInterfaces
Beschreibung aus Schnittstelle kopiert:IImplementingElementT
Sets the set of implemented interfaces for the instance- Angegeben von:
setImplementedInterfaces
in SchnittstelleIImplementingElementT<ITransition>
- Parameter:
implementedInterface
- The set of implemented interfacesremoveCascadeDepth
- >Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setImplementedInterfaces
Beschreibung aus Schnittstelle kopiert:IImplementingElementT
Sets the set of implemented interfaces for the instance- Angegeben von:
setImplementedInterfaces
in SchnittstelleIImplementingElementT<ITransition>
- Parameter:
implementedInterface
- The set of implemented interfaces
-
addImplementedInterface
Beschreibung aus Schnittstelle kopiert:IImplementingElementT
adds an implemented interface- Angegeben von:
addImplementedInterface
in SchnittstelleIImplementingElementT<ITransition>
- Parameter:
implementedInterface
- the new interface
-
removeImplementedInterfaces
Beschreibung aus Schnittstelle kopiert:IImplementingElement
Removes a specified interface from the set of implemented interfaces.- Angegeben von:
removeImplementedInterfaces
in SchnittstelleIImplementingElement
- Parameter:
id
- the id of the interface that should be removedremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
removeImplementedInterfaces
Beschreibung aus Schnittstelle kopiert:IImplementingElement
Removes a specified interface from the set of implemented interfaces.- Angegeben von:
removeImplementedInterfaces
in SchnittstelleIImplementingElement
- Parameter:
id
- the id of the interface that should be removed
-
getImplementedInterfaces
Beschreibung aus Schnittstelle kopiert:IImplementingElementT
Returns the interfaces implemented by this instance- Angegeben von:
getImplementedInterfaces
in SchnittstelleIImplementingElementT<ITransition>
- Gibt zurück:
- the implemented interfaces
-
getSimple2DPathPoints
- Angegeben von:
getSimple2DPathPoints
in SchnittstelleIHasSimple2DVisualizationLine
-
addSimple2DPathPoint
- Angegeben von:
addSimple2DPathPoint
in SchnittstelleIHasSimple2DVisualizationLine
-
get2DPageRatio
public double get2DPageRatio()Beschreibung aus Schnittstelle kopiert:IHasSimple2DVisualizationLine
The relative positions of the simple 2D Vizualiations are given in % of page hight and width No absolut values are given but a page ratio that defines whether it is a wide or tall format- Angegeben von:
get2DPageRatio
in SchnittstelleIHasSimple2DVisualizationLine
- Gibt zurück:
-
set2DPageRatio
public void set2DPageRatio(double has2DPageRatio) - Angegeben von:
set2DPageRatio
in SchnittstelleIHasSimple2DVisualizationLine
-
getRelative2DBeginX
public double getRelative2DBeginX()- Angegeben von:
getRelative2DBeginX
in SchnittstelleIHasSimple2DVisualizationLine
-
setRelative2DBeginX
public void setRelative2DBeginX(double relative2DBeginX) - Angegeben von:
setRelative2DBeginX
in SchnittstelleIHasSimple2DVisualizationLine
-
getRelative2DBeginY
public double getRelative2DBeginY()- Angegeben von:
getRelative2DBeginY
in SchnittstelleIHasSimple2DVisualizationLine
-
setRelative2DBeginY
public void setRelative2DBeginY(double relative2DBeginY) - Angegeben von:
setRelative2DBeginY
in SchnittstelleIHasSimple2DVisualizationLine
-
getRelative2DEndX
public double getRelative2DEndX()- Angegeben von:
getRelative2DEndX
in SchnittstelleIHasSimple2DVisualizationLine
-
setRelative2DEndX
public void setRelative2DEndX(double relative2DEndX) - Angegeben von:
setRelative2DEndX
in SchnittstelleIHasSimple2DVisualizationLine
-
getRelative2DEndY
public double getRelative2DEndY()- Angegeben von:
getRelative2DEndY
in SchnittstelleIHasSimple2DVisualizationLine
-
setRelative2DEndY
public void setRelative2DEndY(double relative2DEndY) - Angegeben von:
setRelative2DEndY
in SchnittstelleIHasSimple2DVisualizationLine
-