Constraint Descriptor : constraint_hpd_common_PostalAddressAddrMandatory (type: ERROR, kind: )

Constraint : constraint_hpd_common_PostalAddressAddrMandatory

Constraint Name
constraint_hpd_common_PostalAddressAddrMandatory (type: ERROR, kind: )
Constraint Class
PostalAddressAttrTemplate
Package
hpdCommon
Description
If an address is included, then the addr is required (see section 3.58.4.1.2.2.1 Object Classes)
OCL
self.value->forAll(val: String |
  			                self.matches(val.toLowerCase(), '.*(addr=){1}.*', true)
  			)