4D v18

dataClassAttribute.kind

Home

 
4D v18
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

 
HISTORY 

Created: 4D v17

 
ARTICLE USAGE

4D Language Reference ( 4D v18)