Klasse GuardBehavior
java.lang.Object
alps.java.api.StandardPASS.PASSProcessModelElement
alps.java.api.StandardPASS.PassProcessModelElements.SubjectBehavior
alps.java.api.StandardPASS.PassProcessModelElements.SubjectBehaviors.GuardBehavior
- Alle implementierten Schnittstellen:
ICapsuleCallback
,IGraphCallback
,IParseablePASSProcessModelElement
,IExtendingElement<ISubjectBehavior>
,IImplementingElement
,IImplementingElementT<ISubjectBehavior>
,IPASSProcessModelElement
,IPrioritizableElement
,ISubjectBehavior
,IGuardBehavior
,IContainableElement<IModelLayer>
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
Class that represents an GuardBehavior
According to standard pass 1.1.0
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen alps.java.api.StandardPASS.PASSProcessModelElement
PASSProcessModelElement.ConnectedElementsSetSpecification, PASSProcessModelElement.ObserverInformType
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected IGuardsFunctionalityCapsule<ISubjectBehavior>
private final String
Name of the class, needed for parsingprotected ICompatibilityDictionary<String,
IState> protected IGuardsFunctionalityCapsule<IState>
protected ICompatibilityDictionary<String,
ISubjectBehavior> Von Klasse geerbte Felder alps.java.api.StandardPASS.PassProcessModelElements.SubjectBehavior
behaviorDescriptionComponents, extendsCapsule, implCapsule, initialStateOfBehavior, layer, priorityNumber, subj
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
KonstruktorBeschreibungGuardBehavior
(IModelLayer layer) GuardBehavior
(IModelLayer layer, String labelForID, ISubject subject, Set<IBehaviorDescribingComponent> components, Set<ISubjectBehavior> guardedBehaviors, Set<IState> guardedStates, IState initialStateOfBehavior, int priorityNumber, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addGuardedBehavior
(ISubjectBehavior behavior) Adds a behavior to the set of guarded behaviorsvoid
addGuardedState
(IState state) Adds a state to the set of guarded statespublic static CultureInfo customCulture = new CultureInfo("en-US"); static PASSProcessModelElement(){ customCulture.NumberFormat.NumberDecimalSeparator = "Returns all behaviors that are guarded by this instanceReturns all states that are guarded by this instanvoid
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 behavior from the set of guarded behaviorsvoid
removeGuardedBehavior
(String id, int removeCascadeDepth) Removes a behavior from the set of guarded behaviorsvoid
Removes a state from the set of guarded statesvoid
removeGuardedState
(String id, int removeCascadeDepth) Removes a state from the set of guarded statesvoid
setGuardedBehaviors
(Set<ISubjectBehavior> behaviors) Overrides the behaviors that are guarded by this GuardBehaviorvoid
setGuardedBehaviors
(Set<ISubjectBehavior> behaviors, int removeCascadeDepth) Overrides the behaviors that are guarded by this GuardBehaviorvoid
setGuardedStates
(Set<IState> guardedStates) Overrides the states that are guarded by this GuardBehaviorvoid
setGuardedStates
(Set<IState> guardedStates, int removeCascadeDepth) Overrides the states that are guarded by this GuardBehaviorvoid
updateRemoved
(IPASSProcessModelElement update, IPASSProcessModelElement caller) void
updateRemoved
(IPASSProcessModelElement update, IPASSProcessModelElement caller, int removeCascadeDepth) Von Klasse geerbte Methoden alps.java.api.StandardPASS.PassProcessModelElements.SubjectBehavior
addBehaviorDescribingComponent, addImplementedInterface, addImplementedInterfaceIDReference, getBehaviorDescribingComponents, getContainedBy, getDictionaryOfAllAvailableElements, getExtendedElement, getExtendedElementID, getImplementedInterfaces, getImplementedInterfacesIDReferences, getInitialStateOfBehavior, getPriorityNumber, getSubject, isExtension, removeBehaviorDescribingComponent, removeBehaviorDescribingComponent, removeFromContainer, removeImplementedInterfaces, removeImplementedInterfaces, removeImplementedInterfacesIDReference, setBehaviorDescribingComponents, setBehaviorDescribingComponents, setContainedBy, setExtendedElement, setExtendedElementID, setImplementedInterfaces, setImplementedInterfaces, setImplementedInterfacesIDReferences, setInitialState, setInitialState, setPriorityNumber, setSubject, setSubject, successfullyParsedElement, updateAdded
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, 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.IExtendingElement
getExtendedElement, getExtendedElementID, isExtension, setExtendedElement, setExtendedElementID
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.IPrioritizableElement
getPriorityNumber, setPriorityNumber
Von Schnittstelle geerbte Methoden alps.java.api.StandardPASS.PassProcessModelElements.ISubjectBehavior
addBehaviorDescribingComponent, getBehaviorDescribingComponents, getInitialStateOfBehavior, getSubject, removeBehaviorDescribingComponent, removeBehaviorDescribingComponent, setBehaviorDescribingComponents, setBehaviorDescribingComponents, setInitialState, setInitialState, setSubject, setSubject
Von Schnittstelle geerbte Methoden alps.java.api.util.IValueChangedObserver
updateAdded
Von Schnittstelle geerbte Methoden alps.java.api.util.IValueChangedPublisher
register, unregister, unregister
-
Felddetails
-
subjectBehaviors
-
guardedStates
-
stateGuardCapsule
-
behaviorGuardCapsule
-
className
Name of the class, needed for parsing- Siehe auch:
-
-
Konstruktordetails
-
GuardBehavior
public GuardBehavior() -
GuardBehavior
public GuardBehavior(IModelLayer layer, String labelForID, ISubject subject, Set<IBehaviorDescribingComponent> components, Set<ISubjectBehavior> guardedBehaviors, Set<IState> guardedStates, IState initialStateOfBehavior, int priorityNumber, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
GuardBehavior
-
-
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 KlasseSubjectBehavior
- Gibt zurück:
- The name of the current class
-
getParsedInstance
- Angegeben von:
getParsedInstance
in SchnittstelleIParseablePASSProcessModelElement
- Setzt außer Kraft:
getParsedInstance
in KlasseSubjectBehavior
-
setGuardedBehaviors
Beschreibung aus Schnittstelle kopiert:IGuardBehavior
Overrides the behaviors that are guarded by this GuardBehavior- Angegeben von:
setGuardedBehaviors
in SchnittstelleIGuardBehavior
- Parameter:
behaviors
- the new set of guarded behaviorsremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setGuardedBehaviors
Beschreibung aus Schnittstelle kopiert:IGuardBehavior
Overrides the behaviors that are guarded by this GuardBehavior- Angegeben von:
setGuardedBehaviors
in SchnittstelleIGuardBehavior
- Parameter:
behaviors
- the new set of guarded behaviors
-
addGuardedBehavior
Beschreibung aus Schnittstelle kopiert:IGuardBehavior
Adds a behavior to the set of guarded behaviors- Angegeben von:
addGuardedBehavior
in SchnittstelleIGuardBehavior
- Parameter:
behavior
- the new guarded behavior
-
getGuardedBehaviors
Beschreibung aus Schnittstelle kopiert:IGuardBehavior
Returns all behaviors that are guarded by this instance- Angegeben von:
getGuardedBehaviors
in SchnittstelleIGuardBehavior
- Gibt zurück:
- A set of behaviors
-
removeGuardedBehavior
Beschreibung aus Schnittstelle kopiert:IGuardBehavior
Removes a behavior from the set of guarded behaviors- Angegeben von:
removeGuardedBehavior
in SchnittstelleIGuardBehavior
- Parameter:
removeCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
removeGuardedBehavior
Beschreibung aus Schnittstelle kopiert:IGuardBehavior
Removes a behavior from the set of guarded behaviors- Angegeben von:
removeGuardedBehavior
in SchnittstelleIGuardBehavior
-
setGuardedStates
Beschreibung aus Schnittstelle kopiert:IGuardBehavior
Overrides the states that are guarded by this GuardBehavior- Angegeben von:
setGuardedStates
in SchnittstelleIGuardBehavior
- Parameter:
guardedStates
- the new set of guarded statesremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setGuardedStates
Beschreibung aus Schnittstelle kopiert:IGuardBehavior
Overrides the states that are guarded by this GuardBehavior- Angegeben von:
setGuardedStates
in SchnittstelleIGuardBehavior
- Parameter:
guardedStates
- the new set of guarded states
-
addGuardedState
Beschreibung aus Schnittstelle kopiert:IGuardBehavior
Adds a state to the set of guarded states- Angegeben von:
addGuardedState
in SchnittstelleIGuardBehavior
- Parameter:
state
- the new guarded state
-
getGuardedStates
Beschreibung aus Schnittstelle kopiert:IGuardBehavior
Returns all states that are guarded by this instan- Angegeben von:
getGuardedStates
in SchnittstelleIGuardBehavior
- Gibt zurück:
- A set of states
-
removeGuardedState
Beschreibung aus Schnittstelle kopiert:IGuardBehavior
Removes a state from the set of guarded states- Angegeben von:
removeGuardedState
in SchnittstelleIGuardBehavior
- Parameter:
id
- the id of the state that is guardedremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
removeGuardedState
Beschreibung aus Schnittstelle kopiert:IGuardBehavior
Removes a state from the set of guarded states- Angegeben von:
removeGuardedState
in SchnittstelleIGuardBehavior
- Parameter:
id
- the id of the state that is guarded
-
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 KlasseSubjectBehavior
- 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 KlasseSubjectBehavior
-
updateRemoved
public void updateRemoved(IPASSProcessModelElement update, IPASSProcessModelElement caller, int removeCascadeDepth) - Angegeben von:
updateRemoved
in SchnittstelleIValueChangedObserver<IPASSProcessModelElement>
- Setzt außer Kraft:
updateRemoved
in KlasseSubjectBehavior
-
updateRemoved
- Angegeben von:
updateRemoved
in SchnittstelleIValueChangedObserver<IPASSProcessModelElement>
- Setzt außer Kraft:
updateRemoved
in KlasseSubjectBehavior
-
notifyModelComponentIDChanged
- Angegeben von:
notifyModelComponentIDChanged
in SchnittstelleIGraphCallback
- Angegeben von:
notifyModelComponentIDChanged
in SchnittstelleIValueChangedObserver<IPASSProcessModelElement>
- Setzt außer Kraft:
notifyModelComponentIDChanged
in KlasseSubjectBehavior
-