Ifd:IfdRelationship

From dev.ifd-library.org

Jump to: navigation, search

The IfdRelationship class.

The structure represents general IFD relationship attributes. It corresponds to all subtypes of xtdRelationship in ISO 12006-3.

Class attributes: base - IfdConcept – represents common xtdRoot attributes of the relationship including the following:

  • guid – global unique id of the relationship (used to find out original in master copy). It is generated in create time and kept without changes in whole relationship life-cycle;
  • version_id – ignored for the relationships;
  • version_date – date/time stamp labeling when the relationship is changed/added;
  • status – ignored for the relationships;
  • concept_type – type for the relationship, it could be one of the following:

'RelAssociates’ ‘RelComposes’ ‘RelGroups’ ‘RelSpecializes’ ‘RelActsUpon’ ‘RelAssignsProperties’ ‘RelAssignsMeasures’ ‘RelCollects’ ‘RelAssignsCollections’ ‘RelSequences’ ‘RelDocuments’ ‘RelAssignsUnits’ ‘RelAssignsValues’ ‘RelAssignsPropertyWithValues'

  • full_names – can be ignored for the relationship, normally consists of the dummy name;
  • short_names – empty;
  • lexemes – empty;
  • definitions – empty;
  • comments – empty;
  • illustrations – empty;
  • owner – represents organization which maintains the concept.
  • string relationship_type - type of the relationship, see IfdConceptInRelationship description;
  • string parent_guid - global unique id of parent concept;
  • string property_guid - global unique id of property concept, only used to represent relationship ASSIGNS_PROPERTY_WITH_VALUES’;
  • string[] children_guid -list of global unique ids for child concepts of the relationship;
  • string[] context_guids - list of the relationship contexts.


Back to the API