目录

SearchStatus

Class Info

public class SearchStatus

Represents an object indicating the API call result status.

Public Constructor Summary

Constructor Name

SearchStatus()

Default constructor.

SearchStatus(String errorCode, String errorMessage)

Creates a SearchStatus object using the result code and result information.

Public Method Summary

Qualifier and Type

Method Name and Description

String

getErrorCode()

Obtains a result code.

String

getErrorMessage()

Obtains the result description.

void

setErrorCode(String errorCode)

Sets a result code.

void

setErrorMessage(String errorMessage)

Sets the result description.

Public Constructors

[h2]SearchStatus

Constructor

SearchStatus(String errorCode, String errorMessage)

Creates a SearchStatus object using the result code and result information.

Parameters

Name

Description

errorCode

Error code.

errorMessage

Error information.

Public Methods

[h2]getErrorCode

Method

public String getErrorCode()

Obtains a result code.

Returns

Type

Description

String

Result code.

[h2]getErrorMessage

Method

public String getErrorMessage()

Obtains the result description.

Returns

Type

Description

String

Result description.

[h2]setErrorCode

Method

public void setErrorCode(String errorCode)

Sets a result code.

Parameters

Name

Description

errorCode

Result code.

[h2]setErrorMessage

Method

public void setErrorMessage(String errorMessage)

Sets the result description.

Parameters

Name

Description

errorMessage

Result description.