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

Constraint : ch_xua_039_Organization

Constraint Name
ch_xua_039_Organization (type: ERROR, kind: )
Constraint Class
CHXUA_AssertionRoleNotHCP
Package
chxua
Description
The organization attribute ("urn:oasis:names:tc:xspa:1.0:subject:organization") element MUST be empty
OCL
self.attributeStatement->forAll(ast : AttributeStatementType |
  				ast.attribute->size() > 0 and
  				ast.attribute->exists(at : AttributeType |
  					not(at.name.oclIsUndefined()) and 
  					at.name = 'urn:oasis:names:tc:xspa:1.0:subject:organization' and
  					at.attributeValue->size() > 0 and
  					at.attributeValue->forAll(av : AttributeValueType |  av.getListStringValues()->isEmpty())			
  				)
  			)