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

Constraint : constraint_creationTime_DTM

Constraint Name
constraint_creationTime_DTM (type: ERROR, kind: )
Constraint Class
DocumentSpec2
Package
OSListResp
Description
creationTime should have the structure DTM (WP34_D342_V2.2 3.4.1.4)
OCL
self.slot->select(sl : SlotType1 | (not sl.name.oclIsUndefined()) and sl.name='creationTime')->forAll(sl : SlotType1 | sl.valueList.oclIsUndefined() or
	(sl.valueList.value->isEmpty()) or
	(
		(sl.valueList.value->size()=1) and
		(sl.isDTM(sl.valueList.value->first()))
	)
)