All Downloads are FREE. Search and download functionalities are using the official Maven repository.

models.dsl.links.ReferencesLinksWithDifferentDepth.rapid Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show newest version
/* 
A data type has reference links with paths of different length
*/
rapidModel ReferencesLinksWithDifferentDepth
	resourceAPI ReferencesLinksWithDifferentDepth baseURI "http://modelsolv.com"
		objectResource DataType1Object type DataType1
			referenceLink > dataType1_reference1
				targetResource DataType2Object
				linkDescriptor DataType2Object.DataType2ObjectLink

			referenceEmbed > dataType1_containment1
				referenceLink > dataType2_reference1
					targetResource DataType3Object
					linkDescriptor DataType3Object.DataType3ObjectLink

				referenceEmbed > dataType2_containmente1
					referenceLink > dataType3_reference1
						targetResource DataType4Object

			mediaTypes
				application/xml
			method GET Customer
				request
				response DataType1Object statusCode 200

		objectResource DataType2Object type DataType2
			linkDescriptor DataType2ObjectLink
				dataType2ID

		objectResource DataType3Object type DataType3
			linkDescriptor DataType3ObjectLink
				dataType3ID

		objectResource DataType4Object type DataType4

	dataModel ReferencesLinksWithDifferentDepth
		structure DataType1
			dataType1ID : string
			CustomerName : string
			dataType1_reference1 : reference DataType2
			dataType1_containment1 : containing reference DataType2?

		structure DataType2
			dataType2ID : string
			dataType2_reference1 : reference DataType3
			dataType2_containmente1 : containing reference DataType3?

		structure DataType3
			dataType3ID : string
			dataType3_reference1 : reference DataType4

		structure DataType4
			dataType4ID : string




© 2015 - 2024 Weber Informatics LLC | Privacy Policy