Question on Schema Object Class Inheritance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike,

> If I want multiple inheirtance, then I'll need the following setup
> 1. objectclassB inherits from objectclassA
> 2. objectclassC inheirts from objectclassB

>> No, it doesn't work. Superior classes can only inherit from top.

Um... That's strange, because I'm able to do that.
Maybe my description is not clear?

If I have the following schema setup
1. objectClassA with attribute1 inherits from top
2. objectClassB with attribute2 inherits from objectClassA
3. objectClassC with attribute3 inherits from objectClassB
then I can achieve multiple schema object class inheritance.

objectClassC will contains attribute1, attribute2 and attribute3.

objectClassA is my superior class who inherits from top.

Am I correct?

Thanks,

David Chu



On 7/12/06, Mike Jackson <mj at sci.fi> wrote:
>
> Chun Tat David Chu wrote:
> > Hi,
> >
> > I think I got the answer, but I would like to confirm that if I'm
> correct.
> >
> > At any given time, a single object class can only inherit from one and
> > only one object class (no multiple inheritance).
> >
> > For example, if I have 3 object classes
> > 1. objectclassA with attribute1
> > 2. objectclassB with attribute2
> > 3. objectclassC with attribute3
> > Then objectclassC can only either inherit from objectclassA or
> objectclassB.
>
> Correct.
>
>
> > If I want multiple inheirtance, then I'll need the following setup
> > 1. objectclassB inherits from objectclassA
> > 2. objectclassC inheirts from objectclassB
>
> No, it doesn't work. Superior classes can only inherit from top.
>
>
> Mike
> --
> http://www.netauth.com - LDAP Directory Consulting
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20060712/d8f33e10/attachment.html 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux