Class TargetDetector
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.TargetDetector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddetectTargetDataByModel(ModelTransformationStepBase step, TransformationStepSubStepData preStepData, TargetDetectionData targetDetectionData) Detects Target elements for elements stored in targetDetectionDatagetTargets(ModelTransformationStepBase step, MappingElementList listSource, TransformationStepSubStepData preStepData, boolean prefetchExistingTargetCandidates) Try to find the target via glue or via properties from source elements .
-
Constructor Details
-
TargetDetector
- Throws:
RemoteException
-
-
Method Details
-
getTargets
public List<TargetDetectionData> getTargets(ModelTransformationStepBase step, MappingElementList listSource, TransformationStepSubStepData preStepData, boolean prefetchExistingTargetCandidates) throws M2MException, RemoteException Try to find the target via glue or via properties from source elements .- Parameters:
listSource- list of source elements- Returns:
- If found, list of target elements glued persistently or virtually with source
- Throws:
RemoteExceptionSevereExceptionRemoteExceptionM2MException
-
detectTargetDataByModel
public void detectTargetDataByModel(ModelTransformationStepBase step, TransformationStepSubStepData preStepData, TargetDetectionData targetDetectionData) throws M2MException, RemoteException Detects Target elements for elements stored in targetDetectionData- Parameters:
step-preStepData-targetDetectionData-- Throws:
M2MExceptionRemoteException
-