Klasse TimeTransitionCondition
java.lang.Object
alps.java.api.StandardPASS.PASSProcessModelElement
alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponent
alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.TransitionCondition
alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.TransitionConditions.TimeTransitionCondition
- Alle implementierten Schnittstellen:
ICapsuleCallback
,IGraphCallback
,IParseablePASSProcessModelElement
,IPASSProcessModelElement
,ITransitionCondition
,ITimeTransitionCondition
,IBehaviorDescribingComponent
,IContainableElement<ISubjectBehavior>
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
public class TimeTransitionCondition
extends TransitionCondition
implements ITimeTransitionCondition
Class that represents a time transition condition
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibung(Package privat) class
Small helper class that keeps all information regarding specific TimeTransitionCondition classes which are not modelled as classes explicitlyVon 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.TransitionConditions.ITimeTransitionCondition
ITimeTransitionCondition.TimeTransitionConditionType
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprivate final String
Name of the class, needed for parsingNeeded for thesetTimeValue(String)
Method.(Package privat) Map<Integer,
TimeTransitionCondition.SpecificTimeTransitionCondition> This dictionary is used to simplify parsing, since the specific subclasses of the TimeTransitionCondition are not modelled as classes explicitly.protected String
Von Klasse geerbte Felder alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.TransitionCondition
toolSpecificDefinition
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
KonstruktorBeschreibungTimeTransitionCondition
(ITransition transition) TimeTransitionCondition
(ITransition transition, String labelForID, String toolSpecificDefintion, String timeValue, ITimeTransitionCondition.TimeTransitionConditionType timeTransitionConditionType, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungpublic static CultureInfo customCulture = new CultureInfo("en-US"); static PASSProcessModelElement(){ customCulture.NumberFormat.NumberDecimalSeparator = "protected String
protected String
getTimeTag
(boolean withStd) Method that returns the time value attribute of the instanceprotected 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
void
setTimeValue
(String timeValue) Method that sets the time value attribute of the instanceVon Klasse geerbte Methoden alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.TransitionCondition
getToolSpecificDefinition, setToolSpecificDefinition
Von Klasse geerbte Methoden alps.java.api.StandardPASS.PassProcessModelElements.BehaviorDescribingComponent
getAllConnectedElements, 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, updateAdded, updateRemoved, updateRemoved
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.StandardPASS.PassProcessModelElements.BehaviorDescribingComponents.ITransitionCondition
getToolSpecificDefinition, setToolSpecificDefinition
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
-
timeValue
-
className
Name of the class, needed for parsing- Siehe auch:
-
timeTransitionConditionType
-
specificConditions
Map<Integer,TimeTransitionCondition.SpecificTimeTransitionCondition> specificConditions This dictionary is used to simplify parsing, since the specific subclasses of the TimeTransitionCondition are not modelled as classes explicitly. The choice is made because the classes do not have different functionality (only when it comes to im- and export), so it simplifies the usage of TimeTransitionCondition for users of the library. -
lastUsedTypeForExportFunctions
Needed for thesetTimeValue(String)
Method. If the type changed since the time value was set the last time, the old triple parsing the time value must be replaced by a triple containing a different predicate (All different classes define differnt predicates for the time value).
-
-
Konstruktordetails
-
TimeTransitionCondition
public TimeTransitionCondition() -
TimeTransitionCondition
public TimeTransitionCondition(ITransition transition, String labelForID, String toolSpecificDefintion, String timeValue, ITimeTransitionCondition.TimeTransitionConditionType timeTransitionConditionType, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
TimeTransitionCondition
-
-
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 KlasseTransitionCondition
- Gibt zurück:
- The name of the current class
-
getParsedInstance
- Angegeben von:
getParsedInstance
in SchnittstelleIParseablePASSProcessModelElement
- Setzt außer Kraft:
getParsedInstance
in KlasseTransitionCondition
-
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 KlasseTransitionCondition
- 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:
-
setTimeTransitionConditionType
public void setTimeTransitionConditionType(ITimeTransitionCondition.TimeTransitionConditionType type) - Angegeben von:
setTimeTransitionConditionType
in SchnittstelleITimeTransitionCondition
-
getTimeTransitionType
- Angegeben von:
getTimeTransitionType
in SchnittstelleITimeTransitionCondition
-
setTimeValue
Beschreibung aus Schnittstelle kopiert:ITimeTransitionCondition
Method that sets the time value attribute of the instance- Angegeben von:
setTimeValue
in SchnittstelleITimeTransitionCondition
- Parameter:
timeValue
- the time value
-
getTimeTag
-
getTimeDatatype
-
getTimeValue
Beschreibung aus Schnittstelle kopiert:ITimeTransitionCondition
Method that returns the time value attribute of the instance- Angegeben von:
getTimeValue
in SchnittstelleITimeTransitionCondition
- Gibt zurück:
- The time value attribute of the instance
-