public class ConnectionBindingUtil
extends java.lang.Object
Constructor and Description |
---|
ConnectionBindingUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.List |
connectedByBus(ComponentInstance srcHW,
ComponentInstance dstHW)
returns list of buses connecting to HW components.
|
static boolean |
connectedToBus(ComponentInstance HWcomp,
ComponentInstance bus)
is hardware component connected (directly) to the given bus
|
static ConnectionInstance |
getBusAccessConnection(ComponentInstance HWcomp,
ComponentInstance bus)
is hardware component connected (directly) to the given bus, incl.
|
static ComponentInstance |
getHardwareComponent(FeatureInstance fi) |
public static ComponentInstance getHardwareComponent(FeatureInstance fi)
public static java.util.List connectedByBus(ComponentInstance srcHW, ComponentInstance dstHW)
source
- HW componentdestination
- HW componentpublic static boolean connectedToBus(ComponentInstance HWcomp, ComponentInstance bus)
HWcomp
- ComponentInstance hardware componentbus
- ComponentInstance bus componentpublic static ConnectionInstance getBusAccessConnection(ComponentInstance HWcomp, ComponentInstance bus)
HWcomp
- ComponentInstance hardware componentbus
- ComponentInstance bus component