|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.stardust.engine.core.spi.extensions.model.BridgeObject
public class BridgeObject
Provides an abstraction of a dereferenced AccessPoint. Contains information
about the data flow direction supported by this bridge and the type of the data.
| Constructor Summary | |
|---|---|
BridgeObject(java.lang.Class endClass,
org.eclipse.stardust.common.Direction direction)
|
|
| Method Summary | |
|---|---|
boolean |
acceptAssignmentFrom(BridgeObject rhs)
Performs a static check if this bridge is valid as a data sink for the data source represented by rhs. |
static BridgeObject |
getBridge(AccessPoint ap,
java.lang.String path,
org.eclipse.stardust.common.Direction direction,
org.eclipse.stardust.engine.core.spi.extensions.runtime.AccessPathEvaluationContext context)
Creates a bridge object representing the dereferenced AccessPoint. |
org.eclipse.stardust.common.Direction |
getDirection()
Retrieves the data flow direction of the represented data. |
java.lang.Class |
getEndClass()
Retrieves the type of data supported by this bridge object. |
static boolean |
isValidMapping(org.eclipse.stardust.common.Direction direction,
AccessPoint lhsPoint,
java.lang.String lhsPath,
AccessPoint rhsPoint,
java.lang.String rhsPath,
org.eclipse.stardust.engine.api.model.IActivity activity)
Performs a static check if the two given AccessPoint dereferences are
compatible regarding possible data flow from one to the other. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BridgeObject(java.lang.Class endClass,
org.eclipse.stardust.common.Direction direction)
| Method Detail |
|---|
public static BridgeObject getBridge(AccessPoint ap,
java.lang.String path,
org.eclipse.stardust.common.Direction direction,
org.eclipse.stardust.engine.core.spi.extensions.runtime.AccessPathEvaluationContext context)
AccessPoint.
ap - The access point to be dereferenced.path - The path expression to be used for dereferencing. Path analysis may hint
on the data flow direction of the resulting bridge.direction - The data flow direction, either Direction#Inif a LHS bridge
is requested or Direction#Outif a RHS bridge is requested.
public java.lang.Class getEndClass()
Object
if no static type information is available.
public org.eclipse.stardust.common.Direction getDirection()
Direction#In for a data sink or Direction#Out for a data source.
public boolean acceptAssignmentFrom(BridgeObject rhs)
rhs.
Basic validity requires compatible data flow directions and type compatibility (if
available).
rhs - The data source to check compatibility against.
true if this bridge may accept assignments from the given data
source, false if not.
public static boolean isValidMapping(org.eclipse.stardust.common.Direction direction,
AccessPoint lhsPoint,
java.lang.String lhsPath,
AccessPoint rhsPoint,
java.lang.String rhsPath,
org.eclipse.stardust.engine.api.model.IActivity activity)
AccessPoint dereferences are
compatible regarding possible data flow from one to the other.
direction - The data flow direction.lhsPoint - The left access point.lhsPath - The left access point's dereference.rhsPoint - The right access point.rhsPath - The right access point's dereference.
true if the two dereferences are compatible, false
if not.acceptAssignmentFrom(org.eclipse.stardust.engine.core.spi.extensions.model.BridgeObject)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||