OTX-Runtime for Java  
OpenTestSystem.Otx.Runtime.Api.DataTypes.ResourceLocation Class Reference

Represents the data type ResourceLocation. More...

Public Member Functions

 ResourceLocation (final String id, final String location)
 Initializes a new instance of the ResourceLocation class. More...
 
 ResourceLocation (final String id, final String location, final String mediaType)
 Initializes a new instance of the ResourceLocation class. More...
 
String GetID ()
 Gets ID. More...
 
String GetLocation ()
 Gets Location. More...
 
String GetMediaType ()
 Get classifies the content of a resource using a media type, indicates the nature and format of a document, file, or assortment of bytes. More...
 
void SetLocation (final String location)
 Sets default location. More...
 

Detailed Description

Represents the data type ResourceLocation.

Constructor & Destructor Documentation

◆ ResourceLocation() [1/2]

OpenTestSystem.Otx.Runtime.Api.DataTypes.ResourceLocation.ResourceLocation ( final String  id,
final String  location 
)
inline

Initializes a new instance of the ResourceLocation class.

Parameters
idID
locationDefault resource location

◆ ResourceLocation() [2/2]

OpenTestSystem.Otx.Runtime.Api.DataTypes.ResourceLocation.ResourceLocation ( final String  id,
final String  location,
final String  mediaType 
)
inline

Initializes a new instance of the ResourceLocation class.

Parameters
idID
locationDefault resource location
mediaTypeMedia type

Member Function Documentation

◆ GetID()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.ResourceLocation.GetID ( )
inline

Gets ID.

Returns
Resource Location's ID

◆ GetLocation()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.ResourceLocation.GetLocation ( )
inline

Gets Location.

Returns
Resource default location

◆ GetMediaType()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.ResourceLocation.GetMediaType ( )
inline

Get classifies the content of a resource using a media type, indicates the nature and format of a document, file, or assortment of bytes.

Returns
Media type

◆ SetLocation()

void OpenTestSystem.Otx.Runtime.Api.DataTypes.ResourceLocation.SetLocation ( final String  location)
inline

Sets default location.

Parameters
locationNew default location

The documentation for this class was generated from the following file: