A tracing link provides feature traceability.

A tracing link connects a \FeaturePhp\Artifact\Artifact with a source and target \FeaturePhp\Artifact\Place to provide feature traceability. This implements ideas from Chapter 7 of "Feature-Oriented Software Product Lines" (see http://www.springer.com/de/book/9783642375200).

package Default

 Methods

Creates a tracing link.

__construct(string $type, \FeaturePhp\Artifact\Artifact $artifact, \FeaturePhp\Artifact\Place $sourcePlace, \FeaturePhp\Artifact\Place $targetPlace) 

Parameters

$type

string

$artifact

\FeaturePhp\Artifact\Artifact

$sourcePlace

\FeaturePhp\Artifact\Place

$targetPlace

\FeaturePhp\Artifact\Place

Returns the tracing link's artifact.

getArtifact() : \FeaturePhp\Artifact\Artifact

Returns

\FeaturePhp\Artifact\Artifact

Returns the tracing link artifact feature's name.

getFeatureName() : \FeaturePhp\Artifact\Artifact

Returns

\FeaturePhp\Artifact\Artifact

Returns the tracing link's source place.

getSourcePlace() : \FeaturePhp\Artifact\Place

Returns

\FeaturePhp\Artifact\Place

Returns the tracing link's target place.

getTargetPlace() : \FeaturePhp\Artifact\Place

Returns

\FeaturePhp\Artifact\Place

Returns the tracing link's type.

getType() : string

Returns

string

 Properties