Ifd:IfdName
From dev.ifd-library.org
The IfdName class is the class representing xtdName entity from ISO 12006-3.
Class attributes:
-
string guidThe global unique identifier -
IfdLanguage language- The language for the name -
string name- The name itself -
IfdNameTypeEnum name_type- Telling the type of the name -
IfdOrganization preferred_by []- which is an array of IfdOrganization that has the name as preferred name. This attribute is only instantiated in the concept-name relationship, which means that for the same name on different concepts, this may be different.
Comments: I have replaced the is_preferred attribute with a list of organisations for which this name is preferred. It has several benefits discussed below. --Lars.Bjørkhaug 12:28, 16 August 2006 (CEST)
removed attribute:
-
IfdLogicalTypeEnum is_preferred- A logical attribute telling if the name is preferred or not.
The preferred_by attribute is not suitable here, whereas the preference of a Name should be an attribute on the assignmnent of the Name. A name can be preferred with one Concept and not-pereferred when used for another Concept, hence it should be an attribute of Concept-Name relationship. So, I suggest to leave it out here and add it to the Concept-Name assignment.
Kees Woestenenk.
The preferred_by attribute is only instantiated in the concept-name relationship. The only function in which this attribute would not make sense is in the getNames function. Using preferred_by enables the user to filter the results afterwards rather than having to log in as a user from another organisation. The only way to instantiate the old "is_preferred" attribute was by checking for the preference for the logged in user. By using the preferred_y attribute instead you are able to also view names (or descriptions, etc) preferred by other organisations as well. --Lars.Bjørkhaug 13:29, 4 September 2006 (CEST)