Understanding Sun Master Index Processing

SearchObjectNameResult

This class represents the results of a search. A SearchObjectNameResult object (where ObjectName is the name of the parent object) is returned as a result of a call to searchBlock, searchExact, or searchPhonetic.searchBlock

Definition


class SearchObjectNameResult

Methods

getEUID

Description

This method retrieves the EUID of a search result record.

Syntax


String getEUID()

Parameters

None.

Returns

A string containing an EUID.

Throws

None.

getComparisonScore

Description

This method retrieves the weight that indicates how closely a search result record matched the search criteria.

Syntax


Float getComparisonScore()

Parameters

None.

Returns

A comparison weight.

Throws

None.

getObjectName

Description

This method retrieves an object bean for a search result record.

Syntax


ObjectNameBean getObjectName()

where ObjectName is the name of the parent object.

Parameters

None.

Returns

An object bean.

Throws

None.

setEUID

Description

This method sets the EUID of a search result record.

Syntax


void setEUID(String euid)

Parameters

Name 

Type 

Description 

euid 

String 

The EUID to set. 

Returns

None.

Throws

None.

setComparisonScore

Description

This method sets the weight that indicates how closely a search result record matched the search criteria.

Syntax


void setComparisonScore(float score)

Parameters

Name 

Type 

Description 

score 

Float 

The matching comparison score to set. 

Returns

None.

Throws

None.

setObjectName

Description

This method sets an object bean as a search result record.

Syntax


void setObjectName(ObjectNameBean bean)

where ObjectName is the name of the parent object.

Parameters

Name 

Type 

Description 

bean 

ObjectNameBean

The object bean to set. 

Returns

None.

Throws

None.