This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19.8
dataClassAttribute.kind

dataClassAttribute.kind 


 

dataClassAttribute.kind -> dataClassAttribute.kind 
Parameter Type   Description
dataClassAttribute.kind  String in Kind of the attribute

The dataClassAttribute.kind property returns the category of the attribute. Returned value can be one of the following:

  • "storage": storage (or scalar) attribute, i.e. attribute storing a value, not a reference to another attribute
  • "relatedEntity": N -> 1 relation attribute (reference to an entity)
  • "relatedEntities": 1 -> N relation attribute (reference to an entity selection)

Example  

Given the following table and relation:

 C_TEXT($attKind)
 $attKind:=ds.Employee.lastname.kind //$attKind="storage"
 $attKind:=ds.Employee.manager.kind //$attKind="relatedEntity"
 $attKind:=ds.Employee.directReports.kind //$attKind="relatedEntities"



See also 

dataClassAttribute.name
dataClassAttribute.relatedDataClass
dataClassAttribute.type

 
PROPERTIES 

Product: 4D
Theme: ORDA - DataClassAttribute

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v17

 
ARTICLE USAGE

4D Language Reference ( 4D v19)
4D Language Reference ( 4D v19.1)
4D Language Reference ( 4D v19.4)
4D Language Reference ( 4D v19.5)
4D Language Reference ( 4D v19.6)
4D Language Reference ( 4D v19.7)
4D Language Reference ( 4D v19.8)