Klasse SubjectBaseBehavior
java.lang.Object
alps.java.api.StandardPASS.PASSProcessModelElement
alps.java.api.StandardPASS.PassProcessModelElements.SubjectBehavior
alps.java.api.StandardPASS.PassProcessModelElements.SubjectBehaviors.SubjectBaseBehavior
- Alle implementierten Schnittstellen:
ICapsuleCallback
,IGraphCallback
,IParseablePASSProcessModelElement
,IExtendingElement<ISubjectBehavior>
,IImplementingElement
,IImplementingElementT<ISubjectBehavior>
,IPASSProcessModelElement
,IPrioritizableElement
,ISubjectBehavior
,ISubjectBaseBehavior
,IContainableElement<IModelLayer>
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
Class that represents a subject base behavior class
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
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
KonstruktorBeschreibungSubjectBaseBehavior
(IModelLayer layer) SubjectBaseBehavior
(IModelLayer layer, String labelForID, ISubject subject, Set<IBehaviorDescribingComponent> components, Set<IState> endStates, IState initialStateOfBehavior, int priorityNumber, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Adds anIBehaviorDescribingComponent
to the current Subject Behavior.public static CultureInfo customCulture = new CultureInfo("en-US"); static PASSProcessModelElement(){ customCulture.NumberFormat.NumberDecimalSeparator = "Get all the end states this behavior contains.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
registerEndState
(IState state) Makes a state an end state (if it was not already).void
setEndStates
(Set<IState> endStates) Sets the set of end states for the instancevoid
setEndStates
(Set<IState> endStates, int removeCascadeDepth) Sets the set of end states for the instancevoid
Removes the EndState type from a specified end state.void
unregisterEndState
(String id, int removeCascadeDepth) Removes the EndState type from a specified end state.Von Klasse geerbte Methoden alps.java.api.StandardPASS.PassProcessModelElements.SubjectBehavior
addImplementedInterface, addImplementedInterfaceIDReference, getBehaviorDescribingComponents, getContainedBy, getDictionaryOfAllAvailableElements, getExtendedElement, getExtendedElementID, getImplementedInterfaces, getImplementedInterfacesIDReferences, getInitialStateOfBehavior, getPriorityNumber, getSubject, isExtension, notifyModelComponentIDChanged, removeBehaviorDescribingComponent, removeBehaviorDescribingComponent, removeFromContainer, removeImplementedInterfaces, removeImplementedInterfaces, removeImplementedInterfacesIDReference, setBehaviorDescribingComponents, setBehaviorDescribingComponents, setContainedBy, setExtendedElement, setExtendedElementID, setImplementedInterfaces, setImplementedInterfaces, setImplementedInterfacesIDReferences, setInitialState, setInitialState, setPriorityNumber, setSubject, setSubject, successfullyParsedElement, updateAdded, updateRemoved, updateRemoved
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
getBehaviorDescribingComponents, getInitialStateOfBehavior, getSubject, removeBehaviorDescribingComponent, removeBehaviorDescribingComponent, setBehaviorDescribingComponents, setBehaviorDescribingComponents, setInitialState, setInitialState, setSubject, setSubject
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
-
className
Name of the class, needed for parsing- Siehe auch:
-
endStates
-
-
Konstruktordetails
-
SubjectBaseBehavior
public SubjectBaseBehavior() -
SubjectBaseBehavior
public SubjectBaseBehavior(IModelLayer layer, String labelForID, ISubject subject, Set<IBehaviorDescribingComponent> components, Set<IState> endStates, IState initialStateOfBehavior, int priorityNumber, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
SubjectBaseBehavior
-
-
Methodendetails
-
getParsedInstance
- Angegeben von:
getParsedInstance
in SchnittstelleIParseablePASSProcessModelElement
- Setzt außer Kraft:
getParsedInstance
in KlasseSubjectBehavior
-
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
-
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:
-
getEndStates
Beschreibung aus Schnittstelle kopiert:ISubjectBaseBehavior
Get all the end states this behavior contains. All these are as well listed in the overall amount of BehaviorDescribingComponents this behavior holds.- Angegeben von:
getEndStates
in SchnittstelleISubjectBaseBehavior
- Gibt zurück:
- A dictionary of states with their ids as keys
-
addBehaviorDescribingComponent
Beschreibung aus Schnittstelle kopiert:ISubjectBehavior
Adds anIBehaviorDescribingComponent
to the current Subject Behavior.- Angegeben von:
addBehaviorDescribingComponent
in SchnittstelleISubjectBehavior
- Setzt außer Kraft:
addBehaviorDescribingComponent
in KlasseSubjectBehavior
- Parameter:
component
- the component that is being added- Gibt zurück:
-
getAllConnectedElements
public Set<IPASSProcessModelElement> getAllConnectedElements(PASSProcessModelElement.ConnectedElementsSetSpecification specification) - Setzt außer Kraft:
getAllConnectedElements
in KlasseSubjectBehavior
-
setEndStates
Beschreibung aus Schnittstelle kopiert:ISubjectBaseBehavior
Sets the set of end states for the instance- Angegeben von:
setEndStates
in SchnittstelleISubjectBaseBehavior
- Parameter:
endStates
- The set of end statesremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setEndStates
Beschreibung aus Schnittstelle kopiert:ISubjectBaseBehavior
Sets the set of end states for the instance- Angegeben von:
setEndStates
in SchnittstelleISubjectBaseBehavior
- Parameter:
endStates
- The set of end states
-
registerEndState
Beschreibung aus Schnittstelle kopiert:ISubjectBaseBehavior
Makes a state an end state (if it was not already). Adds the state to the list of behavior describing components (if it was not contained already).- Angegeben von:
registerEndState
in SchnittstelleISubjectBaseBehavior
- Parameter:
state
- the new end state
-
unregisterEndState
Beschreibung aus Schnittstelle kopiert:ISubjectBaseBehavior
Removes the EndState type from a specified end state. Does not delete the state from the behavior, useISubjectBehavior.removeBehaviorDescribingComponent(String, int)
for this- Angegeben von:
unregisterEndState
in SchnittstelleISubjectBaseBehavior
- Parameter:
id
- the id of the end state that should be removedremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
unregisterEndState
Beschreibung aus Schnittstelle kopiert:ISubjectBaseBehavior
Removes the EndState type from a specified end state. Does not delete the state from the behavior, useISubjectBehavior.removeBehaviorDescribingComponent(String, int)
for this- Angegeben von:
unregisterEndState
in SchnittstelleISubjectBaseBehavior
- Parameter:
id
- the id of the end state that should be removed
-