You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ROUXEL (Jira)" <ji...@apache.org> on 2022/05/11 08:48:00 UTC

[jira] [Commented] (ATLAS-3767) [BusinessTerm] Create Hierachy on Business Term

    [ https://issues.apache.org/jira/browse/ATLAS-3767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17534766#comment-17534766 ] 

ROUXEL commented on ATLAS-3767:
-------------------------------

Hi,

Don't you need a "has-a" relationship between business terms, in order to link your Person with its properties ?

(like ATLAS-1055 and as defined by ATLAS-1410)

> [BusinessTerm] Create Hierachy on Business Term
> -----------------------------------------------
>
>                 Key: ATLAS-3767
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3767
>             Project: Atlas
>          Issue Type: Improvement
>          Components:  atlas-core
>    Affects Versions: 2.0.0
>            Reporter: Eric Theroude
>            Priority: Major
>
> I would like to create a hierarchy on my business term definition.
> For example, for a Person :
>  * Person  is a Business Term
>  * I would like to have also the properties of the Person as a BusinessTerm :
>  ** Person FirstName is a Business Term
>  ** Person Name is a BusinessTerm
>  ** Person Birthday is a BusinessTerm
>  * And I want to associate the business term for properties of the Person to the Person Business Term
>  
> I don't want to use Categories because it is not possible to associate category to an Entity.
>  
> I would something like this for the defintion of this relationship :
> {code:java}
> // 
> { 
> "relationshipDefs": [ 
>      { 
>         "name": "BusinessTermHierarchyRelation", 
>         "serviceType": "Atlas",
>         "typeVersion": "1.0",
>         "relationshipCategory": "ASSOCIATION",
>         "endDef1": { 
>            "name": "parentTerm",
>            "type": "AtlasGlossaryTerm",
>            "cardinality": "SINGLE" 
>         },
>         "endDef2": {
>            "name": "childrenTerms",
>            "type": "AtlasGlossaryTerm",
>            "cardinality": "SET" 
>         },
>         "propagateTags": "NONE"
>      } 
>     ]
> }
> {code}
>  
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)