cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple inheritance of node types

legolas
Champ in-the-making
Champ in-the-making
Hi,

According to section 6.7.2 of the JCR API specification, A primary node type must extend another node type (or more than one node type, if the implementation supports multiple inheritance).

So I'd like to know if Alfresco's repository supports multiple inheritance of primary node types?

Thanks in advance,
Marcel
4 REPLIES 4

legolas
Champ in-the-making
Champ in-the-making
Does anybody know the answer to this?

kevinr
Star Contributor
Star Contributor
No Alfresco only supports single inheritance. But using Aspects (in a similar way to interfaces in Java) you can add multiple behaviours to a node.

Thanks,

Kevin

legolas
Champ in-the-making
Champ in-the-making
Thanks for clarifying this.
Can aspects be considered similar to JCR mixin node types?

Marcel

davidc
Star Contributor
Star Contributor
Yes, they can be considered similar.

In fact, Alfresco implements JCR's mixin node types as aspects.