org.eclipse.stardust.engine.core.spi.extensions.model
Interface DataValidator


public interface DataValidator

Provides static validation of DataMapping configurations by tentatively evaluation of AccessPoint dereferences during modeling time.


Method Summary
 BridgeObject getBridgeObject(AccessPoint point, String path, org.eclipse.stardust.common.Direction direction)
          Creates an implementation specific bridge object for the given access point and path.
 List validate(Map attributes)
          Performs static Data validation.
 

Method Detail

validate

List validate(Map attributes)
Performs static Data validation. An implementation is expected to inspect the given attributes and indicate any problems with an appropriate Inconsistency.

Parameters:
attributes - Implementation specific data attributes.
Returns:
The list of found Inconsistency instances.

getBridgeObject

BridgeObject getBridgeObject(AccessPoint point,
                             String path,
                             org.eclipse.stardust.common.Direction direction)
Creates an implementation specific bridge object for the given access point and path.

Parameters:
point - the implementation specific access point.
path - the implementation specific access path.
direction - the data flow direction, either Direction.INif a LHS bridge is requested or Direction.OUTif a RHS bridge is requested
Returns:
the corresponding bridge object.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.