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

Constraint : consPurposeOfUseOption

Constraint Name
consPurposeOfUseOption (type: ERROR, kind: )
Constraint Class
PurposeOfUseOption
Package
samlihepurp
Description
When Actor is implementing PurposeOfUse option, an attribute with @Name='urn:oasis:names:tc:xspa:1.0:subject:purposeofuse' SHALL be present (ITI_TF_Vol2b, 3.40.4.1.2.3)
OCL
self.attribute->exists(att : AttributeType |
	(not att.name.oclIsUndefined()) and 
	att.name='urn:oasis:names:tc:xspa:1.0:subject:purposeofuse'
)