[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: the 'Extends' clause
What you are specifying here, is using class A as an abstract class which
be instantiated by itself. You can't specify this by using the EXTENDS
clause, but you could force this relationship at the implementation level,
instance of A cannot be received/sent if an instance of B OR C with the same
instance id is not received/sent.
From: Andreas Polyrakis [mailto:firstname.lastname@example.org]
Sent: Wednesday, March 14, 2001 1:52 PM
Subject: the 'Extends' clause
one simple question on the SPPI:
Suppose that there is a class A, which is extended by two classes B and C.
It there a way to denote that instances of A MUST be extended by either
an instance of B or an instance of C? So that that for each PRI in A,
either a PRIs in B or in C exist?
thanks in advance,