$linkAttribute

( documentation for Telosys generator version 3.3.0 )


This object provides a pair of link attributes
Each pair contains the 'origin attibute' and the 'referenced attibute'


Example :
   
   #foreach( $attributesPair in $link.attributes )
    from $attributesPair.originAttribute.name
    to $attributesPair.targetAttribute.name
   #end

Since : 2.1.0

Attributes and methods
.originAttribute : AttributeInContext

Returns the link's origin attribute
The attribute in the 'owning side' of the link (in the FK if any)

.targetAttribute : AttributeInContext

Returns the link's target attribute (referenced attribute)
The attribute in the 'inverse side' of the link