[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.uml2] Re: Provided and required interfaces of port
|
Patrick,
The Port::required and Port::provided properties are derived, i.e. they are
read-only properties whose values are automatically calculated from other
information. In this case, if your Type1 class is the implementing
classifier of an interface realization whose contract is ProvidedInterface1,
and Type1 is the type of port1, then ProvidedInterface1 is automatically
included in the list of provided interfaces for port1. Similarly, if Type1
is a client of a usage dependency whose supplier is RequiredInterface1, then
RequiredInterface1 is automatically included in the list of required
interfaces for port1.
Kenn
"Patrick" <Patrick.Tessier@xxxxxx> wrote in message
news:a193793f8f7cc6f64ca0896f7b9c9973$1@xxxxxxxxxxxxxxxxxx
> Hi,
>
> I would like to know if the UML eclipse project put automatically provided
> and required interfaces of ports?
>
> For instance I'have a class Type1 that implements ProvidedInterface1 and
> depends of RequiredInterface1.
> When I create a port port1 and then I affect the type1, I don't see
> required={RequiredInterface1} and provided={ProvidedInterface1}.
>
> More over the attribute required and provided are readonly so I can't
> create a listener that add this information.
>
>