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

Constraint : consValueOID

Constraint Name
consValueOID (type: ERROR, kind: )
Constraint Class
HomeCommunityIdSpec
Package
samlihe
Description
The value shall be the Home Community ID (an Object Identifier) assigned to the Community that is initiating the request, using the urn format (that is, "urn:oid" appended with the OID). (ITI TF Vol2b,, 3.40.4.1.2) (ITI TF Vol2b,
OCL
self.attributeValue->size()>0 and 
  			self.attributeValue->forAll(att : AttributeValueType | 
  				att.getListStringValues()->size()=1 and 
  				att.matches(att.getListStringValues()->first(), 'urn:oid:.*') and 
  				att.isOID(att.getListStringValues()->first().substring(9, att.getListStringValues()->first().size()))
  			)