public class MessageTypeOperations extends Object
The following operations are supported:
Get Name
Ocl Operations
Check Exclusive Signature
Check Operation Parameters
Check Signal Attributes
Ocl Properties
Modifier and Type | Method and Description |
---|---|
static <C,O,P> boolean |
checkExclusiveSignature(MessageType<C,O,P> messageType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
referredOperation->size() + referredSignal->size() = 1
|
static <C,O,P> boolean |
checkOperationParameters(MessageType<C,O,P> messageType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
referredOperation->size()=1 implies
Set{1..self.ownedAttribute->size()}->forAll(i | self.ownedAttribute.at(i).cmpSlots(
referredOperation.ownedParameter.asProperty()->at(i))
|
static <C,O,P> boolean |
checkSignalAttributes(MessageType<C,O,P> messageType,
DiagnosticChain diagnostics,
Map<Object,Object> context)
referredSignal->size() = 1 implies
Set{1..self.ownedAttribute->size()}->forAll(i | self.ownedAttribute.asOrderedSet().at(i).cmpSlots(
referredSignal.ownedAttribute.asOrderedSet()->at(i))
|
static <C,O,P> String |
getName(MessageType<C,O,P> messageType) |
static <C,O,P> <any> |
oclOperations(MessageType<C,O,P> messageType) |
static <C,O,P> <any> |
oclProperties(MessageType<C,O,P> messageType) |
public static <C,O,P> String getName(MessageType<C,O,P> messageType)
public static <C,O,P> <any> oclOperations(MessageType<C,O,P> messageType)
public static <C,O,P> boolean checkExclusiveSignature(MessageType<C,O,P> messageType, DiagnosticChain diagnostics, Map<Object,Object> context)
messageType
- The receiving 'Message Type' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public static <C,O,P> boolean checkOperationParameters(MessageType<C,O,P> messageType, DiagnosticChain diagnostics, Map<Object,Object> context)
messageType
- The receiving 'Message Type' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public static <C,O,P> boolean checkSignalAttributes(MessageType<C,O,P> messageType, DiagnosticChain diagnostics, Map<Object,Object> context)
messageType
- The receiving 'Message Type' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public static <C,O,P> <any> oclProperties(MessageType<C,O,P> messageType)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.