Universal Object Language (UOL) and XML [OMG Document: ad/98-07-07] Version 1.2 /T-UOL-19980707 July 7th, 1998. From: ftp://ftp.omg.org/pub/docs/ad/98-07-07.pdf Copyright: Recerca Informàtica and Daimler-Benz Research and Technology Examples from July 6, 1998 Submission EXPRESS_SCHEMA integer integer is 3 {aConstraint} integer [1..3,6..*] is {2,3,4} aStereoType typeA any thisElement aPackage aPackage2 aPackage3 any aType
aConstraint
aConstraint2 {aConstraint3} Specification
any boolean boolean date boolean string string unique enum={male,female} Incoming operation {self.age>=0} Person UMLAssociationEnd husband Company UMLAssociationEnd employer {self.employee->size %le=50} husband true false %quot none %quot text \"This is a constraint\" aConstrainDef