Ifd:IfdLibrarySelectEnum
From dev.ifd-library.org
Enumeration items:
- BARBI
- LEXICON
Comments: 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:
- 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.
- 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 This enumeration can be removed, as long as it will be possible to select content based on who was authoring a concept. For this I suggest to add an 'owner' attribute to Concept (see IfdConcept).
Comments: I added this enumeration because I don't see how to use IfdContext to filter for a library, as I explained earlier. An enumeration has the advantage that its contents are formal, so that it can be used as a reliable argument. Extending the enumeration seems rather simple to me, all functions that use it will also work with the extended version. The owner attribute is an alternative that could be considered. -- Kees.Woestenenk 14:37, 2006-09-06