Klasse MessageExchange
java.lang.Object
alps.java.api.StandardPASS.PASSProcessModelElement
alps.java.api.StandardPASS.PassProcessModelElements.InteractionDescribingComponent
alps.java.api.StandardPASS.PassProcessModelElements.InteractiondescribingComponents.MessageExchange
- Alle implementierten Schnittstellen:
ICapsuleCallback
,IGraphCallback
,IParseablePASSProcessModelElement
,IAbstractElement
,IPASSProcessModelElement
,IInteractionDescribingComponent
,IMessageExchange
,IContainableElement<IModelLayer>
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
Class that represents a message exchange
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen alps.java.api.StandardPASS.PASSProcessModelElement
PASSProcessModelElement.ConnectedElementsSetSpecification, PASSProcessModelElement.ObserverInformType
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprivate final String
private final String
Name of the class, needed for parsingprotected boolean
private MessageExchangeType
protected IMessageSpecification
protected ISubject
protected ISubject
Von Klasse geerbte Felder alps.java.api.StandardPASS.PassProcessModelElements.InteractionDescribingComponent
layer
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
KonstruktorBeschreibungMessageExchange
(IModelLayer layer) MessageExchange
(IModelLayer layer, String labelForID, IMessageSpecification messageSpecification, ISubject senderSubject, ISubject receiverSubject, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungpublic static CultureInfo customCulture = new CultureInfo("en-US"); static PASSProcessModelElement(){ customCulture.NumberFormat.NumberDecimalSeparator = "Returns the current type of the exchangeMethod that returns the message specification attribute of the instanceMethod that returns the receiver attribute of the instanceMethod that returns the sender attribute of the instanceboolean
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
setIsAbstract
(boolean isAbstract) Marks/Unmarks the element as abstracvoid
Sets a type for the current instancevoid
setMessageType
(IMessageSpecification messageType) Method that sets the message specification attribute of the instancevoid
setMessageType
(IMessageSpecification messageType, int removeCascadeDepth) Method that sets the message specification attribute of the instancevoid
setReceiver
(ISubject receiver) Method that sets the receiver attribute of the instancevoid
setReceiver
(ISubject receiver, int removeCascadeDepth) Method that sets the receiver attribute of the instancevoid
Method that sets the sender attribute of the instancevoid
Method that sets the sender attribute of the instancevoid
updateRemoved
(IPASSProcessModelElement update, IPASSProcessModelElement caller) void
updateRemoved
(IPASSProcessModelElement update, IPASSProcessModelElement caller, int removeCascadeDepth) Von Klasse geerbte Methoden alps.java.api.StandardPASS.PassProcessModelElements.InteractionDescribingComponent
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
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, updateAdded
Von Schnittstelle geerbte Methoden alps.java.api.util.IValueChangedPublisher
register, unregister, unregister
-
Felddetails
-
messageType
-
receiver
-
sender
-
className
Name of the class, needed for parsing- Siehe auch:
-
messageExchangeType
-
isAbstractType
protected boolean isAbstractType -
ABSTRACT_NAME
- Siehe auch:
-
-
Konstruktordetails
-
MessageExchange
public MessageExchange() -
MessageExchange
public MessageExchange(IModelLayer layer, String labelForID, IMessageSpecification messageSpecification, ISubject senderSubject, ISubject receiverSubject, String comment, String additionalLabel, List<IIncompleteTriple> additionalAttribute) - Parameter:
layer
-labelForID
-messageSpecification
-senderSubject
-receiverSubject
-comment
-additionalLabel
-additionalAttribute
-
-
MessageExchange
- Parameter:
layer
-
-
-
Methodendetails
-
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
-
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 KlasseInteractionDescribingComponent
- Gibt zurück:
- The name of the current class
-
getParsedInstance
- Angegeben von:
getParsedInstance
in SchnittstelleIParseablePASSProcessModelElement
- Setzt außer Kraft:
getParsedInstance
in KlasseInteractionDescribingComponent
-
setMessageType
Beschreibung aus Schnittstelle kopiert:IMessageExchange
Method that sets the message specification attribute of the instance- Angegeben von:
setMessageType
in SchnittstelleIMessageExchange
- Parameter:
messageType
- the type of messageremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setMessageType
Beschreibung aus Schnittstelle kopiert:IMessageExchange
Method that sets the message specification attribute of the instance- Angegeben von:
setMessageType
in SchnittstelleIMessageExchange
- Parameter:
messageType
- the type of message
-
setReceiver
Beschreibung aus Schnittstelle kopiert:IMessageExchange
Method that sets the receiver attribute of the instance- Angegeben von:
setReceiver
in SchnittstelleIMessageExchange
- Parameter:
removeCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setReceiver
Beschreibung aus Schnittstelle kopiert:IMessageExchange
Method that sets the receiver attribute of the instance- Angegeben von:
setReceiver
in SchnittstelleIMessageExchange
-
setSender
Beschreibung aus Schnittstelle kopiert:IMessageExchange
Method that sets the sender attribute of the instance- Angegeben von:
setSender
in SchnittstelleIMessageExchange
- Parameter:
removeCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setSender
Beschreibung aus Schnittstelle kopiert:IMessageExchange
Method that sets the sender attribute of the instance- Angegeben von:
setSender
in SchnittstelleIMessageExchange
-
getMessageType
Beschreibung aus Schnittstelle kopiert:IMessageExchange
Method that returns the message specification attribute of the instance- Angegeben von:
getMessageType
in SchnittstelleIMessageExchange
- Gibt zurück:
- The message specification attribute of the instance
-
getReceiver
Beschreibung aus Schnittstelle kopiert:IMessageExchange
Method that returns the receiver attribute of the instance- Angegeben von:
getReceiver
in SchnittstelleIMessageExchange
- Gibt zurück:
- The receiver attribute of the instance
-
getSender
Beschreibung aus Schnittstelle kopiert:IMessageExchange
Method that returns the sender attribute of the instance- Angegeben von:
getSender
in SchnittstelleIMessageExchange
- Gibt zurück:
- The sender attribute of the instance
-
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 KlassePASSProcessModelElement
- 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 KlasseInteractionDescribingComponent
-
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
-
setMessageExchangeType
Beschreibung aus Schnittstelle kopiert:IMessageExchange
Sets a type for the current instance- Angegeben von:
setMessageExchangeType
in SchnittstelleIMessageExchange
- Parameter:
type
- The type
-
getMessageExchangeType
Beschreibung aus Schnittstelle kopiert:IMessageExchange
Returns the current type of the exchange- Angegeben von:
getMessageExchangeType
in SchnittstelleIMessageExchange
- Gibt zurück:
- the current type
-