Can an entity be inherited from a value object?

Fabrício Cabral <[email protected]>
Newsgroups gmane.comp.programming.domain-driven-design
Message-ID <CAKUebb9KFKkW-hG71VN4AmAAtEc9wQTgjPJj9jQPE++Q8ZQsLA@mail.gmail.com>
Hello everybody!

I have a conceptual doubt: can an entity be inherited from a value object?
For example, I have a class A which is a VO. So, can a class B which is
an entity extends this class A?

Could anyone give me a *real* example of this?

Thanks in advance.

-- 
--fx
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.