Eric Theroude created ATLAS-3767:
------------------------------------

             Summary: [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


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.3.4#803005)

Reply via email to