Ifd:getParentConcepts

From dev.ifd-library.org

Jump to: navigation, search
IfdConceptInRelationship[] getParentConcepts(
                             String concept_guid,
                             String[] context_guids,
                             IfdRelationshipTypeEnum [] relationship_types,
                             IfdLanguage[] languages,
                             String session_id)
                  throws Ifd:IfdServerException

Express heading

QUERY_FUNCTION getParentConcepts (
                            concept_guid : STRING;
                            context_guids : LIST OF STRING; 
                            relationship_types : LIST OF STRING;
                            languages : LIST OF IfdLanguage) : LIST OF IfdConceptInRelationship;


Function to list the parents (relating concepts) of the given concept, constrained by the given array of contexts, the given array of relationship_types and the given array of languages. The parents are returned as an array of IfdConceptInRelationship

Input:

Return:

Back to the API

Comments: -The Concept parameter should be the guid of the Concept, not the Concept itself. (resolved) -The Context parameter is not clear, what is it used for, what content might it have? I suggest to leave it out. (declined) -The language parameter is not needed, I suggest to leave it out. (declined) -An additional parameter is needed for filtering between Definition and Specification. For this I suggest to use IfdPropertyTypeEnum. (not relevant here) -The function should only return a list of guids. (declined) -The function should not throw an exception when returning nothing. (resolved) Kees Woestenenk