Talk:Ifd:IfdLibrarySelectEnum

From dev.ifd-library.org

Jump to: navigation, search

I have added this enumeration as a selection mechanism that is not dependent of IfdContext. This enumeration can be used in list functions and for adding functions. I have modified the list functions with this selection criterion. The enumartion can be extended with other libraries.

Purpose?

What is the real purpose of this? Why do we need anything independent of the context? Using enumeration for something that is likely to change often (number of libraries) is not a good idea, I think. Besides, we only have one library, context should be what distinguishes content in the library. Håvard.Bell

Two comments:

  1. To have an enumeration for this purpose is not a good idea as it would mean that every user of the WDSL interface would have to create a new interface binding every time a new library is added.
  2. This functionality is already covered by the [Ifd:IfdContext|IfdContext]. We could however make IfdContext into another type of entity rather than a subtype of IfdConcept.

I suggest we remove this enumeration. Lars.Bjørkhaug