IBM Support

Differences between 'import ' and 'access' stereotypes on dependency lines between packages in IBM Rational Tau

Question & Answer


Question

How does 'import ' differ from 'access' stereotype on dependency lines between packages in IBM Rational Tau?

Answer

Consider the packages X, Y, and Z.

For example: X<<import>>Y<<import>>Z . 
Import is transitive. So in the above example, X imports from Y and Y imports from Z. When we use  <<import>> it  means that package 'X' can use elements in package 'Z'.

Conversely, with the example: X<<access>>Y<<access>>Z 
Access is non-transitive. So in the above example, X will not be able to access any of the elements in Z.

If the above does not function as expected in your environment, please contact IBM Rational Client Support for further analysis of your model.

 

[{"Product":{"code":"SSYQGX","label":"Rational Tau"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

KB7635

Document Information

Modified date:
16 June 2018

UID

swg21325568