Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

This is an example of user defining a Type (PostalAddress), which is a container, and using it as a composite attribute in the DataModel (<PostalAddress name="VendorAddress"/>). By using this type, the DataModel will have attributes of:

VendorInfo.VendorAddress.Street

VendorInfo.VendorAddress.City

VendorInfo.VendorAddress.Zipcode

Using composite attributes
Def(Name: "PostalAddress"):
 String(name: "Street");
 String(name: "City");
 String(name: "Zipcode");
 
DataModel(Name: "VendorInfo"):
  Sid(name: "VendorSysId");
  String(name: "vendorName");
  String(name: "vendorTitle");
  PostalAddress(name: "VendorAddress");
  String(Name: "DeviceTypes", Cardinality: "0..m");
  • No labels