Klasse Action
java.lang.Object
alps.java.api.StandardPASS.PASSProcessModelElement
alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponent
alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.Action
- Alle implementierten Schnittstellen:
ICapsuleCallback
,IGraphCallback
,IParseablePASSProcessModelElement
,IPASSProcessModelElement
,IAction
,IBehaviorDescribingComponent
,IContainableElement<ISubjectBehavior>
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
Class that represents an action. This is a construct used in the ontology, but is only implemented here to guarantee a correct standard.
A user should not create own actions, they will be created automatically when creating a state.
They are only used for export.
However, when imported, the correct actions should be loaded and parsed correctly.
This class ensures that.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen alps.java.api.StandardPASS.PASSProcessModelElement
PASSProcessModelElement.ConnectedElementsSetSpecification, PASSProcessModelElement.ObserverInformType
-
Feldübersicht
Modifizierer und TypFeldBeschreibung(Package privat) ISubjectBehavior
Constructor that creates a new fully specified instance of the action classprivate final String
Name of the class, needed for parsingprotected IState
protected ICompatibilityDictionary<String,
ITransition> 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
KonstruktorBeschreibungAction()
Constructor that creates a new fully specified instance of the action classAction
(IState state, String labelForID, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) Constructor that creates a new fully specified instance of the action class -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected void
addContainsTransition
(ITransition containedTransition) Adds a corresponding transition.public static CultureInfo customCulture = new CultureInfo("en-US"); static PASSProcessModelElement(){ customCulture.NumberFormat.NumberDecimalSeparator = "Returns the outgoing transitions that are connected to the stategetState()
Returns the state attribute of the action classvoid
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.protected void
Removes a contained transition.protected void
setContainsState
(IState state) protected void
setContainsState
(IState state, boolean parsed) Sets the corresponding state.void
updateAdded
(IPASSProcessModelElement update, IPASSProcessModelElement caller) protected void
Sets the corresponding transitions.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, 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.IValueChangedPublisher
register, unregister, unregister
-
Felddetails
-
state
-
transitions
-
className
Name of the class, needed for parsing- Siehe auch:
-
behavior
ISubjectBehavior behaviorConstructor that creates a new fully specified instance of the action class
-
-
Konstruktordetails
-
Action
public Action() -
Action
public Action(IState state, String labelForID, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) Constructor that creates a new fully specified instance of the action class- Parameter:
state
-labelForID
-comment
-additionalLabel
-additionalAttribute
-
-
Action
Constructor that creates a new fully specified instance of the action class- Parameter:
state
-
-
Action
-
-
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
-
setContainsState
Sets the corresponding state. Not public (explanation in class xml)- Parameter:
state
- the stateparsed
- should express whether this method was called while parsing or not
-
setContainsState
-
getState
Beschreibung aus Schnittstelle kopiert:IAction
Returns the state attribute of the action class -
updateContainedTransitions
protected void updateContainedTransitions()Sets the corresponding transitions. Not public (explanation in class xml) -
addContainsTransition
Adds a corresponding transition. Not public (explanation in class xml)- Parameter:
containedTransition
-
-
getContainedTransitions
Beschreibung aus Schnittstelle kopiert:IAction
Returns the outgoing transitions that are connected to the state- Angegeben von:
getContainedTransitions
in SchnittstelleIAction
- Gibt zurück:
- The outgoing transitions
-
removeContainedTransition
Removes a contained transition. Not public (explanation in class xml)- Parameter:
id
- the id of the transition
-
getAllConnectedElements
public Set<IPASSProcessModelElement> getAllConnectedElements(PASSProcessModelElement.ConnectedElementsSetSpecification specification) - Setzt außer Kraft:
getAllConnectedElements
in KlasseBehaviorDescribingComponent
-
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:
-
notifyModelComponentIDChanged
- Angegeben von:
notifyModelComponentIDChanged
in SchnittstelleIGraphCallback
- Angegeben von:
notifyModelComponentIDChanged
in SchnittstelleIValueChangedObserver<IPASSProcessModelElement>
- Setzt außer Kraft:
notifyModelComponentIDChanged
in KlassePASSProcessModelElement
-
updateAdded
- Angegeben von:
updateAdded
in SchnittstelleIValueChangedObserver<IPASSProcessModelElement>
- Setzt außer Kraft:
updateAdded
in KlassePASSProcessModelElement
-
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
-