public class UML2Service
extends java.lang.Object
Constructor and Description |
---|
UML2Service() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
adaTypeToCtype(org.eclipse.uml2.uml.Type type)
Converts, if possible, an Ada data type to a C data type.
|
java.util.List<org.eclipse.uml2.uml.Component> |
getAllComponentTypeList(java.util.List<org.eclipse.uml2.uml.Component> allComponentList,
java.lang.String stName)
Gets the list of component types from the given list of component implementations
|
org.eclipse.uml2.uml.Slot |
getBoundPIslot(org.eclipse.uml2.uml.Slot sl,
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList)
Gets the provided slot bounded to the given slot
|
java.util.List<org.eclipse.uml2.uml.Slot> |
getBoundRIslotList(org.eclipse.uml2.uml.Slot sl,
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList)
Gets the required slots bounded to the given slot
|
java.util.List<org.eclipse.uml2.uml.CallOperationAction> |
getCalledOperation(org.eclipse.uml2.uml.Operation op)
Gets the list of operations called by the given operation.
|
java.util.List<org.eclipse.uml2.uml.CallOperationAction> |
getCalledOperationList(org.eclipse.uml2.uml.Activity act)
Gets the list of called operation (CalledOperationAction) from the given Activity.
|
java.lang.String |
getCeiling(java.util.List<java.lang.Object> slotList,
org.eclipse.uml2.uml.Operation op,
java.lang.String stName)
Gets the Ceiling of an operation.
|
java.util.List<org.eclipse.uml2.uml.Component> |
getComponentImplList(java.util.List<org.eclipse.uml2.uml.Component> compList,
java.lang.String stName)
Gets the component impl list.
|
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> |
getComponentInstanceList(org.eclipse.uml2.uml.Component cImpl,
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> allIsList)
Gets the component instance list.
|
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> |
getComponentInstanceList(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> instList,
java.lang.String stName)
Gets the list of component instances from the list of the instances with multiplicity.
|
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> |
getConnectorInstList(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> instList,
java.lang.String stName)
Gets the connector inst list.
|
java.lang.String |
getCRClib(org.eclipse.uml2.uml.Slot sl,
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList,
java.util.List<org.eclipse.uml2.uml.Connector> connectorList,
java.lang.String stName)
Gets the CRC library.
|
java.util.List<org.eclipse.uml2.uml.Operation> |
getCyclicOperationList(java.util.List<org.eclipse.uml2.uml.Slot> slotList,
java.lang.String stName)
Gets a list of cyclic operations from a list of slots.
|
org.eclipse.uml2.uml.InstanceSpecification |
getDeploymentProcessingNode(org.eclipse.uml2.uml.Slot sl,
java.util.List<org.eclipse.uml2.uml.Comment> commList,
java.lang.String stName)
Gets the deployment processing node.
|
java.lang.String |
getDocumentation(org.eclipse.uml2.uml.NamedElement elem)
Gets the Papyrus documentation of an element
|
org.eclipse.uml2.uml.Activity |
getICB(org.eclipse.uml2.uml.Operation op)
Gets the the Intra-Component Binding (ICB) Activity of the given Operation
|
java.lang.String |
getImplementationLanguage(org.eclipse.uml2.uml.Component c,
java.lang.String stName)
Gets the implementation language from a given ComponentImplementation.
|
java.util.List<org.eclipse.uml2.uml.Slot> |
getInstanceProvidedInterfaceSlotList(org.eclipse.uml2.uml.InstanceSpecification inst,
java.lang.String stName)
Gets the list of slots that provide an interface from a single instance
|
java.util.List<org.eclipse.uml2.uml.Slot> |
getInstanceRequiredInterfaceSlotList(org.eclipse.uml2.uml.InstanceSpecification inst,
java.lang.String stName)
Gets the list of slots that require an interface from a single instance
|
org.eclipse.uml2.uml.Interface |
getInterface(org.eclipse.uml2.uml.Operation op,
java.util.List<org.eclipse.uml2.uml.Port> ptList,
java.lang.String stName)
Gets the interface containing the given operation searching in the list of provided interfaces
|
java.lang.String |
getMonitoredTaskName(java.util.List<java.lang.Object> slotList,
org.eclipse.uml2.uml.Operation op,
java.lang.String stName) |
java.util.List<org.eclipse.uml2.uml.Component> |
getNodeComponentImplementationList(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> isList,
java.lang.String stName)
Gets the list of component implementations from the given list of instance specifications.
|
java.util.List<org.eclipse.uml2.uml.Component> |
getNodeComponentTypeList(java.util.List<org.eclipse.uml2.uml.Component> cImplList,
java.lang.String stName)
Gets the list of component types from the given list of component implementations
|
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> |
getNodeInstanceSpecification(org.eclipse.uml2.uml.InstanceSpecification node,
java.util.List<org.eclipse.uml2.uml.Comment> commList,
java.lang.String stName)
Gets the instance specification deployed to the given instance specification hw node.
|
java.util.List<org.eclipse.uml2.uml.Interface> |
getNodeInterfaceList(java.util.List<org.eclipse.uml2.uml.Component> cTypeList,
java.lang.String stName)
Gets the list of interfaces from the given list of component types
|
java.lang.String |
getOperationSignature(org.eclipse.uml2.uml.Component c,
org.eclipse.uml2.uml.Operation op)
Gets a String representing the operation signature.
|
java.util.List<java.lang.String> |
getPackageToWithSpec(java.util.List<java.lang.Object> slotList,
java.lang.String stName,
java.lang.String st2Name)
This is a method very specific to the Acceleo transformation (Ada code generation)
|
java.lang.String |
getPeriodOrMIAT(java.util.List<java.lang.Object> slotList,
org.eclipse.uml2.uml.Operation op,
java.lang.String stName)
Gets the Period or minimum interarrival time (MIAT) of an operation.
|
java.lang.String |
getPriority(java.util.List<java.lang.Object> slotList,
org.eclipse.uml2.uml.Operation op,
java.lang.String stName)
Gets the Priority of an operation.
|
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> |
getProcessingNodeList(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> allIsList,
java.lang.String stName)
Gets the list of processing nodes.
|
java.util.List<org.eclipse.uml2.uml.Operation> |
getProtectedOperationList(java.util.List<org.eclipse.uml2.uml.Slot> slotList,
java.lang.String stName)
Gets a list of protected operations from a list of slots.
|
org.eclipse.uml2.uml.Interface |
getProvidedInterface(org.eclipse.uml2.uml.Port port,
java.lang.String stName)
Gets the provided interface from a Port (must be stereotyped as ClientServerPort)
|
java.util.List<org.eclipse.uml2.uml.Interface> |
getProvidedInterfaceList(java.util.List<org.eclipse.uml2.uml.Port> portList,
java.lang.String stName)
Gets the list of the provided interfaces from a list of ClientServerPorts.
|
java.lang.String |
getProvidedInterfaceListAsQualifiedString(java.util.List<org.eclipse.uml2.uml.Port> portList,
java.lang.String stName)
Returns a String representing the names of the provided interfaces from a list of ClientServerPorts.
|
java.util.List<org.eclipse.uml2.uml.Slot> |
getProvidedInterfaceSlotList(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> instList,
java.lang.String stName)
Gets the list of slots that provide an interface from a list of instances
|
java.util.List<org.eclipse.uml2.uml.Operation> |
getProvidedOperationList(java.util.List<org.eclipse.uml2.uml.Component> cTypeList,
java.lang.String stName)
Gets the provided operation list.
|
java.util.List<org.eclipse.uml2.uml.Slot> |
getRemoteRIslotList(java.util.List<org.eclipse.uml2.uml.Slot> riSlotList,
org.eclipse.uml2.uml.InstanceSpecification procNode,
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList,
java.util.List<org.eclipse.uml2.uml.Comment> commList,
java.lang.String assignStName)
Gets the remote required slot list.
|
org.eclipse.uml2.uml.Interface |
getRequiredInterface(org.eclipse.uml2.uml.Port port,
java.lang.String stName)
Gets the required interface from a Port (must be stereotyped as ClientServerPort)
|
java.util.List<org.eclipse.uml2.uml.Interface> |
getRequiredInterfaceList(java.util.List<org.eclipse.uml2.uml.Port> portList,
java.lang.String stName)
Gets the list of the required interfaces from a list of ClientServerPorts.
|
java.util.List<org.eclipse.uml2.uml.Slot> |
getRequiredInterfaceSlotList(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> instList,
java.lang.String stName)
Gets the list of slots that require an interface from a list of instances
|
org.eclipse.uml2.uml.Parameter |
getReturnParam(org.eclipse.uml2.uml.Operation op)
Gets the return parameter of a given operation.
|
java.util.List<org.eclipse.uml2.uml.Operation> |
getSlotProtectedOperation(org.eclipse.uml2.uml.Slot sl,
java.lang.String stName)
Gets the Protected Operation from the given Slot
|
java.util.List<org.eclipse.uml2.uml.Operation> |
getSporadicOperationList(java.util.List<org.eclipse.uml2.uml.Slot> slotList,
java.lang.String stName)
Gets a list of sporadic operations from a list of slots.
|
java.lang.String |
getTransmissionWithCRC(org.eclipse.uml2.uml.Slot slot0,
org.eclipse.uml2.uml.Slot slot1,
java.util.List<org.eclipse.uml2.uml.Connector> connectorList,
java.lang.String stName)
Gets the transmission with CRC.
|
java.util.List<org.eclipse.uml2.uml.Property> |
getTupleAttributes(org.eclipse.uml2.uml.DataType dt,
org.eclipse.uml2.uml.Stereotype stereo)
Gets the tuple attributes of a MARTE's TupleType stereotype.
|
java.lang.String |
getUnit(java.lang.String inputVSL)
Gets the "unit" substring of a given VSL string.
|
java.util.List<org.eclipse.uml2.uml.Operation> |
getUnprotectedOperationList(java.util.List<org.eclipse.uml2.uml.Slot> slotList,
java.lang.String stName)
Gets a list of unprotected operations from a list of slots.
|
java.lang.String |
getValue(java.lang.String inputVSL)
Gets the "value" substring of a given VSL string.
|
java.lang.Boolean |
hasCimplementation(java.util.List<org.eclipse.uml2.uml.Component> lComp,
java.lang.String stName)
Checks if there is at least one ComponentImplementation with language equals to C or C++
|
java.lang.Boolean |
hasRequiredInterface(java.util.List<org.eclipse.uml2.uml.Port> portList,
java.lang.String stName)
Checks if among the elements of a List of ClientServerPort, at least one can require ports.
|
boolean |
isCyclicOperation(java.util.List<org.eclipse.uml2.uml.Slot> slotList,
org.eclipse.uml2.uml.Operation op,
java.lang.String stName)
Checks if the given operation is cyclic
|
boolean |
isDataTypeWithRequired(org.eclipse.uml2.uml.Interface aInt)
Checks if is data type with required.
|
java.lang.Boolean |
isFunction(org.eclipse.uml2.uml.Operation op)
checks if the operation generates a function in Ada.
|
boolean |
isMonitored(java.util.List<java.lang.Object> slotList,
org.eclipse.uml2.uml.Operation op,
java.lang.String stName) |
boolean |
isMonitored(org.eclipse.uml2.uml.Slot op) |
java.lang.Boolean |
isProvidedPort(org.eclipse.uml2.uml.Port pt,
java.lang.String stName)
Checks if a specific port is a ClientServerPort which can provide interfaces.
|
java.lang.Boolean |
isRemoteCommNecessary(java.util.List<org.eclipse.uml2.uml.Slot> slList,
org.eclipse.uml2.uml.InstanceSpecification procNode,
java.util.List<org.eclipse.uml2.uml.Comment> commList,
java.lang.String stName)
Checks if the remote communication is necessary.
|
java.lang.Boolean |
isRemoteMsgClientNecessary(java.util.List<org.eclipse.uml2.uml.Slot> riSlotList,
org.eclipse.uml2.uml.InstanceSpecification procNode,
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList,
java.util.List<org.eclipse.uml2.uml.Comment> commList,
java.lang.String assignStName)
Checks if remote msg client is necessary.
|
java.lang.Boolean |
isRemoteMsgServerNecessary(java.util.List<org.eclipse.uml2.uml.Slot> slList,
org.eclipse.uml2.uml.InstanceSpecification procNode,
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList,
java.util.List<org.eclipse.uml2.uml.Comment> commList,
java.lang.String stName)
Checks if remote msg server is necessary.
|
java.lang.Boolean |
isRequiredPort(org.eclipse.uml2.uml.Port pt,
java.lang.String stName)
Checks if a specific port is a ClientServerPort which can require interfaces.
|
boolean |
isSameOperation(org.eclipse.uml2.uml.Operation op1,
org.eclipse.uml2.uml.Operation op2)
Checks if two operation are equal to each other according to the following criteria:
name, visibility, size of parameter list
type of parameters, name of parameters
isAbstract is purposely not considered
|
java.lang.Boolean |
isSingleNodeSystem(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> allIsList,
java.lang.String stName)
Checks if the system is single node.
|
java.lang.Boolean |
isTransmissionWithSequenceID(org.eclipse.uml2.uml.Slot slot0,
org.eclipse.uml2.uml.Slot slot1,
java.util.List<org.eclipse.uml2.uml.Connector> connectorList,
java.lang.String stName)
Checks if the connector has transmission with sequence id.
|
java.lang.Boolean |
useSequenceID(org.eclipse.uml2.uml.Slot sl,
java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList,
java.util.List<org.eclipse.uml2.uml.Connector> connectorList,
java.lang.String stName)
Check whether to use sequence id.
|
public org.eclipse.uml2.uml.Interface getProvidedInterface(org.eclipse.uml2.uml.Port port, java.lang.String stName)
port
- the portstName
- the stereotype name. Must be "MARTE::MARTE_DesignModel::GCM::ClientServerPort"public org.eclipse.uml2.uml.Interface getRequiredInterface(org.eclipse.uml2.uml.Port port, java.lang.String stName)
port
- the portstName
- the stereotype name. Must be "MARTE::MARTE_DesignModel::GCM::ClientServerPort"public java.lang.Boolean isProvidedPort(org.eclipse.uml2.uml.Port pt, java.lang.String stName)
pt
- the portstName
- the stereotype name. Must be "MARTE::MARTE_DesignModel::GCM::ClientServerPort"public java.lang.Boolean isRequiredPort(org.eclipse.uml2.uml.Port pt, java.lang.String stName)
pt
- the portstName
- the stereotype name. Must be "MARTE::MARTE_DesignModel::GCM::ClientServerPort"public java.util.List<org.eclipse.uml2.uml.Interface> getProvidedInterfaceList(java.util.List<org.eclipse.uml2.uml.Port> portList, java.lang.String stName)
portList
- the list of ports.stName
- the stereotype name. Must be "MARTE::MARTE_DesignModel::GCM::ClientServerPort"public java.lang.String getProvidedInterfaceListAsQualifiedString(java.util.List<org.eclipse.uml2.uml.Port> portList, java.lang.String stName)
portList
- the list of ports.stName
- the stereotype name. Must be "MARTE::MARTE_DesignModel::GCM::ClientServerPort"public java.lang.Boolean hasRequiredInterface(java.util.List<org.eclipse.uml2.uml.Port> portList, java.lang.String stName)
portList
- the list of ports.stName
- the stereotype name. Must be "MARTE::MARTE_DesignModel::GCM::ClientServerPort"public java.util.List<org.eclipse.uml2.uml.Interface> getRequiredInterfaceList(java.util.List<org.eclipse.uml2.uml.Port> portList, java.lang.String stName)
portList
- the list of ports.stName
- the stereotype name. Must be "MARTE::MARTE_DesignModel::GCM::ClientServerPort"public java.lang.String getOperationSignature(org.eclipse.uml2.uml.Component c, org.eclipse.uml2.uml.Operation op)
c
- the component containing the operationop
- the operationpublic java.util.List<java.lang.String> getPackageToWithSpec(java.util.List<java.lang.Object> slotList, java.lang.String stName, java.lang.String st2Name)
slotList
- the slot liststName
- the st namest2Name
- the st2 namepublic java.lang.String getValue(java.lang.String inputVSL)
inputVSL
- the input VSL stringpublic java.lang.String getUnit(java.lang.String inputVSL)
inputVSL
- the input VSL stringpublic java.lang.String getPriority(java.util.List<java.lang.Object> slotList, org.eclipse.uml2.uml.Operation op, java.lang.String stName)
slotList
- the list of Slots in the modelop
- the OperationstName
- unusedpublic java.lang.String getPeriodOrMIAT(java.util.List<java.lang.Object> slotList, org.eclipse.uml2.uml.Operation op, java.lang.String stName)
slotList
- the list of Slots in the modelop
- the OperationstName
- unusedpublic java.lang.String getCeiling(java.util.List<java.lang.Object> slotList, org.eclipse.uml2.uml.Operation op, java.lang.String stName)
slotList
- the list of Slots in the modelop
- the OperationstName
- unusedpublic java.util.List<org.eclipse.uml2.uml.Operation> getCyclicOperationList(java.util.List<org.eclipse.uml2.uml.Slot> slotList, java.lang.String stName)
slotList
- the list of Slots in the modelstName
- unusedpublic boolean isMonitored(java.util.List<java.lang.Object> slotList, org.eclipse.uml2.uml.Operation op, java.lang.String stName)
public java.lang.String getMonitoredTaskName(java.util.List<java.lang.Object> slotList, org.eclipse.uml2.uml.Operation op, java.lang.String stName)
public boolean isMonitored(org.eclipse.uml2.uml.Slot op)
public java.util.List<org.eclipse.uml2.uml.Operation> getSporadicOperationList(java.util.List<org.eclipse.uml2.uml.Slot> slotList, java.lang.String stName)
slotList
- the list of Slots in the modelstName
- unusedpublic java.util.List<org.eclipse.uml2.uml.Operation> getProtectedOperationList(java.util.List<org.eclipse.uml2.uml.Slot> slotList, java.lang.String stName)
slotList
- the list of Slots in the modelstName
- unusedpublic java.util.List<org.eclipse.uml2.uml.Operation> getSlotProtectedOperation(org.eclipse.uml2.uml.Slot sl, java.lang.String stName)
sl
- the SlotstName
- unusedpublic java.util.List<org.eclipse.uml2.uml.Operation> getUnprotectedOperationList(java.util.List<org.eclipse.uml2.uml.Slot> slotList, java.lang.String stName)
slotList
- the list of Slots in the modelstName
- unusedpublic java.util.List<org.eclipse.uml2.uml.InstanceSpecification> getComponentInstanceList(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> instList, java.lang.String stName)
instList
- the list of the instances with multiplicitystName
- the name of the stereotype. Must be "CHESS::ComponentModel::ComponentImplementation"public java.util.List<org.eclipse.uml2.uml.Slot> getRequiredInterfaceSlotList(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> instList, java.lang.String stName)
instList
- the list of instancesstName
- the stereotype name. Must be "MARTE::MARTE_DesignModel::GCM::ClientServerPort"public java.util.List<org.eclipse.uml2.uml.Slot> getInstanceRequiredInterfaceSlotList(org.eclipse.uml2.uml.InstanceSpecification inst, java.lang.String stName)
instList
- the InstanceSpecficationstName
- the stereotype name. Must be "MARTE::MARTE_DesignModel::GCM::ClientServerPort"public java.util.List<org.eclipse.uml2.uml.Slot> getProvidedInterfaceSlotList(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> instList, java.lang.String stName)
instList
- the list of instancesstName
- the stereotype name. Must be "MARTE::MARTE_DesignModel::GCM::ClientServerPort"public java.util.List<org.eclipse.uml2.uml.Slot> getInstanceProvidedInterfaceSlotList(org.eclipse.uml2.uml.InstanceSpecification inst, java.lang.String stName)
instList
- the InstanceSpecficationstName
- the stereotype name. Must be "MARTE::MARTE_DesignModel::GCM::ClientServerPort"public java.util.List<org.eclipse.uml2.uml.InstanceSpecification> getConnectorInstList(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> instList, java.lang.String stName)
instList
- the inst liststName
- the st namepublic java.util.List<org.eclipse.uml2.uml.Component> getComponentImplList(java.util.List<org.eclipse.uml2.uml.Component> compList, java.lang.String stName)
compList
- the comp liststName
- the st namepublic org.eclipse.uml2.uml.Slot getBoundPIslot(org.eclipse.uml2.uml.Slot sl, java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList)
sl
- the given slotconnectorInstList
- the list of connector instancespublic java.util.List<org.eclipse.uml2.uml.Slot> getBoundRIslotList(org.eclipse.uml2.uml.Slot sl, java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList)
sl
- the given slotconnectorInstList
- the list of connector instancespublic boolean isCyclicOperation(java.util.List<org.eclipse.uml2.uml.Slot> slotList, org.eclipse.uml2.uml.Operation op, java.lang.String stName)
slotList
- the list of slots in the modelop
- the operationstName
- unusedpublic java.util.List<org.eclipse.uml2.uml.CallOperationAction> getCalledOperation(org.eclipse.uml2.uml.Operation op)
op
- the given operationpublic boolean isSameOperation(org.eclipse.uml2.uml.Operation op1, org.eclipse.uml2.uml.Operation op2)
op1
- the first operationop2
- the second operationpublic org.eclipse.uml2.uml.Interface getInterface(org.eclipse.uml2.uml.Operation op, java.util.List<org.eclipse.uml2.uml.Port> ptList, java.lang.String stName)
op
- the given operationptList
- the list of ports. Used to get the list of provided interfacesstName
- the stereotype namepublic boolean isDataTypeWithRequired(org.eclipse.uml2.uml.Interface aInt)
aInt
- the Interfacepublic java.lang.String getImplementationLanguage(org.eclipse.uml2.uml.Component c, java.lang.String stName)
c
- the given ComponentImplementationstName
- the stereotype namepublic java.lang.String adaTypeToCtype(org.eclipse.uml2.uml.Type type)
type
- the Ada typepublic java.lang.Boolean hasCimplementation(java.util.List<org.eclipse.uml2.uml.Component> lComp, java.lang.String stName)
lComp
- the list of ComponentImplementationstName
- the stereotype namepublic java.util.List<org.eclipse.uml2.uml.CallOperationAction> getCalledOperationList(org.eclipse.uml2.uml.Activity act)
act
- the Activitypublic org.eclipse.uml2.uml.Activity getICB(org.eclipse.uml2.uml.Operation op)
op
- the operationpublic java.util.List<org.eclipse.uml2.uml.InstanceSpecification> getComponentInstanceList(org.eclipse.uml2.uml.Component cImpl, java.util.List<org.eclipse.uml2.uml.InstanceSpecification> allIsList)
cImpl
- the c implallIsList
- the all is listpublic java.lang.Boolean isSingleNodeSystem(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> allIsList, java.lang.String stName)
allIsList
- the list of all the instancesstName
- the stereotype namepublic java.util.List<org.eclipse.uml2.uml.InstanceSpecification> getProcessingNodeList(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> allIsList, java.lang.String stName)
allIsList
- the list of all the instancesstName
- the the stereotype namepublic java.util.List<org.eclipse.uml2.uml.InstanceSpecification> getNodeInstanceSpecification(org.eclipse.uml2.uml.InstanceSpecification node, java.util.List<org.eclipse.uml2.uml.Comment> commList, java.lang.String stName)
node
- the given hw nodecommList
- the list of comments (assigns)stName
- the stereotype namepublic java.util.List<org.eclipse.uml2.uml.Component> getNodeComponentImplementationList(java.util.List<org.eclipse.uml2.uml.InstanceSpecification> isList, java.lang.String stName)
isList
- the the list of instance specificationsstName
- the stereotype namepublic java.util.List<org.eclipse.uml2.uml.Component> getNodeComponentTypeList(java.util.List<org.eclipse.uml2.uml.Component> cImplList, java.lang.String stName)
cImplList
- the list of component implementationsstName
- the stereotype namepublic java.util.List<org.eclipse.uml2.uml.Component> getAllComponentTypeList(java.util.List<org.eclipse.uml2.uml.Component> allComponentList, java.lang.String stName)
cImplList
- the list of component implementationsstName
- the stereotype namepublic java.util.List<org.eclipse.uml2.uml.Interface> getNodeInterfaceList(java.util.List<org.eclipse.uml2.uml.Component> cTypeList, java.lang.String stName)
cImplList
- the list of component typesstName
- the stereotype namepublic org.eclipse.uml2.uml.InstanceSpecification getDeploymentProcessingNode(org.eclipse.uml2.uml.Slot sl, java.util.List<org.eclipse.uml2.uml.Comment> commList, java.lang.String stName)
sl
- the given slotcommList
- the list of comments (Assigns)stName
- the stereotype namepublic java.lang.Boolean isRemoteCommNecessary(java.util.List<org.eclipse.uml2.uml.Slot> slList, org.eclipse.uml2.uml.InstanceSpecification procNode, java.util.List<org.eclipse.uml2.uml.Comment> commList, java.lang.String stName)
slList
- the list of slotsprocNode
- the processing node (@see UML2Service.getDeploymentProcessingNode)commList
- the list of commentsstName
- the stereotype namepublic java.util.List<org.eclipse.uml2.uml.Operation> getProvidedOperationList(java.util.List<org.eclipse.uml2.uml.Component> cTypeList, java.lang.String stName)
cTypeList
- the list of component typesstName
- the stereotype namepublic java.util.List<org.eclipse.uml2.uml.Slot> getRemoteRIslotList(java.util.List<org.eclipse.uml2.uml.Slot> riSlotList, org.eclipse.uml2.uml.InstanceSpecification procNode, java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList, java.util.List<org.eclipse.uml2.uml.Comment> commList, java.lang.String assignStName)
riSlotList
- the required slot listprocNode
- the processing nodeconnectorInstList
- the connector instance listcommList
- the list of commentsassignStName
- the assign stereotype namepublic java.lang.Boolean isRemoteMsgClientNecessary(java.util.List<org.eclipse.uml2.uml.Slot> riSlotList, org.eclipse.uml2.uml.InstanceSpecification procNode, java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList, java.util.List<org.eclipse.uml2.uml.Comment> commList, java.lang.String assignStName)
riSlotList
- the required slot listprocNode
- the processing nodeconnectorInstList
- the connector instance listcommList
- the list of commentsassignStName
- the assign stereotype namepublic java.lang.Boolean isRemoteMsgServerNecessary(java.util.List<org.eclipse.uml2.uml.Slot> slList, org.eclipse.uml2.uml.InstanceSpecification procNode, java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList, java.util.List<org.eclipse.uml2.uml.Comment> commList, java.lang.String stName)
slList
- the slot listprocNode
- the processing nodeconnectorInstList
- the connector instance listcommList
- the list of commentsstName
- the stereotype namepublic java.lang.Boolean useSequenceID(org.eclipse.uml2.uml.Slot sl, java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList, java.util.List<org.eclipse.uml2.uml.Connector> connectorList, java.lang.String stName)
sl
- the slotconnectorInstList
- the list of connector instancesconnectorList
- the list of connectorsstName
- the stereotype namepublic java.lang.Boolean isTransmissionWithSequenceID(org.eclipse.uml2.uml.Slot slot0, org.eclipse.uml2.uml.Slot slot1, java.util.List<org.eclipse.uml2.uml.Connector> connectorList, java.lang.String stName)
slot0
- the first slotslot1
- the second slotconnectorList
- the list of connectorsstName
- the stereotype namepublic java.lang.String getCRClib(org.eclipse.uml2.uml.Slot sl, java.util.List<org.eclipse.uml2.uml.InstanceSpecification> connectorInstList, java.util.List<org.eclipse.uml2.uml.Connector> connectorList, java.lang.String stName)
sl
- the slotconnectorInstList
- the list of connector instancesconnectorList
- the list of connectorsstName
- the stereotype namepublic java.lang.String getTransmissionWithCRC(org.eclipse.uml2.uml.Slot slot0, org.eclipse.uml2.uml.Slot slot1, java.util.List<org.eclipse.uml2.uml.Connector> connectorList, java.lang.String stName)
slot0
- the first slotslot1
- the second slotconnectorList
- the list of connectorsstName
- the stereotype namepublic java.lang.String getDocumentation(org.eclipse.uml2.uml.NamedElement elem)
elem
- the Elementpublic java.util.List<org.eclipse.uml2.uml.Property> getTupleAttributes(org.eclipse.uml2.uml.DataType dt, org.eclipse.uml2.uml.Stereotype stereo)
dt
- the data typestereo
- the stereotype (TupleType)public java.lang.Boolean isFunction(org.eclipse.uml2.uml.Operation op)
op
- the operationpublic org.eclipse.uml2.uml.Parameter getReturnParam(org.eclipse.uml2.uml.Operation op)
op
- the given Operation