JeeWiz Home  
The Model-Driven System Builder

JeeWiz Architect's Guide
 
Contents  >   14.  'Business Object' Reference
 


14.20 DataViewToAttributeMapper Object

Used on
baseView
dataView
DescriptionThe data-view-to-attribute-mapper (DVAM) sets an entity attribute based on the values in data-view fields.

This property only makes sense if the DVAM's parent data-view has an initial entity. The DVAM then identifies an attribute on the initial entity and provides an expression for setting it. The expression is used when the data-view creates or updates the entity.
Validation 1.   The parent data-view must have an initial entity if a data-view-to-attribute-mapper is specified
2.   The related-attribute must be the name of an attribute on the initial-entity object.
Inherited
properties
name (base property)

description (base property)

template (base property)

text (base property)

jwpattern (base property)

 14.20.1  Property 'relatedAttribute'
 14.20.2  Property 'expression'

14.20.1  Property 'relatedAttribute'
DescriptionThis is the name of the attribute on the initial entity to be updated.
TypeString

14.20.2  Property 'expression'
DescriptionThis is the expression that will be used to set the attribute value.
TypeString
Requiredtrue
 


Copyright (c) 2001-2008 New Technology/enterprise Ltd.