OTX Reference  
OpenTestSystem.Otx.Extensions.DataType.Terms.ResourceLocationLiteral Class Reference

Creates a ResourceLocation object based on a hard-coded id and a default location. More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DataType.Terms.ResourceLocationLiteral:
Inheritance graph

Public Attributes

StringLiteral defaultLocation
 Cardinality [0..1]
Represents the optional hard-coded default location of the ResourceLocationLiteral. This value should be used, if the related resource ID cannot be mapped.The value should be defined by a URI. More...
 
StringLiteral id
 Cardinality [1]
Represents the hard-coded resource ID value. At runtime the ID should be used to map the ResourceLocation to a certain location. More...
 
StringLiteral mediaType
 Cardinality [0..1]
Classifies the content of a resource using a media type. A media type indicates the nature and format of a document, file, or assortment of bytes. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Cardinality [0..1]
The MetaData type allows tools to store additional, mainly tool-specific data. More...
 

Detailed Description

Creates a ResourceLocation object based on a hard-coded id and a default location.

Member Data Documentation

◆ defaultLocation

StringLiteral OpenTestSystem.Otx.Extensions.DataType.Terms.ResourceLocationLiteral.defaultLocation

Cardinality [0..1]
Represents the optional hard-coded default location of the ResourceLocationLiteral. This value should be used, if the related resource ID cannot be mapped.The value should be defined by a URI.

◆ id

StringLiteral OpenTestSystem.Otx.Extensions.DataType.Terms.ResourceLocationLiteral.id

Cardinality [1]
Represents the hard-coded resource ID value. At runtime the ID should be used to map the ResourceLocation to a certain location.

◆ mediaType

StringLiteral OpenTestSystem.Otx.Extensions.DataType.Terms.ResourceLocationLiteral.mediaType

Cardinality [0..1]
Classifies the content of a resource using a media type. A media type indicates the nature and format of a document, file, or assortment of bytes.

Note
IMPORTANT — The media type classifies the content of a resource location only. Whether or how the type is used is not part of this document.