SysML

org.topcased.sysml.util
Class SysMLUtils

java.lang.Object
  extended by org.topcased.sysml.util.SysMLUtils

public class SysMLUtils
extends java.lang.Object


Constructor Summary
SysMLUtils()
           
 
Method Summary
static EList getConnectedElements(org.eclipse.uml2.uml.ConnectableElement elt)
          Return the elements which are connected to a connectable element
static boolean validateFlowPortsCompatibility(FlowPort fp1, FlowPort fp2)
          Verify that two flow ports are compatible (i.e. they have type, direction and name matching)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SysMLUtils

public SysMLUtils()
Method Detail

getConnectedElements

public static EList getConnectedElements(org.eclipse.uml2.uml.ConnectableElement elt)
Return the elements which are connected to a connectable element

Parameters:
elt - the connectable element
Returns:
the list of connected elements (a list of ConnectableElement)

validateFlowPortsCompatibility

public static boolean validateFlowPortsCompatibility(FlowPort fp1,
                                                     FlowPort fp2)
Verify that two flow ports are compatible (i.e. they have type, direction and name matching)

Parameters:
fp1 -
fp2 -
Returns:

SysML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.