|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.mdm.index.master.search.enterprise.EOSearchResultRecord
The EOSearchResultRecord class represents an object containing a record returned by a call to MasterController.searchEnterpriseObject. A search for an enterprise object returns an iterator of EOSearchResultRecord objects.
| Constructor Summary | |
EOSearchResultRecord()
Creates a new instance of the EOSearchResultRecord class. |
|
EOSearchResultRecord(float comparisonScore,
java.lang.String euid,
ObjectNode resultRow)
Creates a new instance of the EOSearchResultRecord class. |
|
| Method Summary | |
int |
compareTo(java.lang.Object obj)
Standard compare function |
float |
getComparisonScore()
Retrieves the comparison score (the matching probability weight) for a search result record. |
java.lang.String |
getEUID()
Retrieves the EUID for a row of data (an EOSearchResultRecord object). |
ObjectNode |
getObject()
Retrieves a result row from a system object in the EOSearchResultRecord object. |
void |
setComparisonScore(float comparisonScore)
Sets the comparison score (the matching probability weight) for a search result record. |
void |
setEUID(java.lang.String val)
Sets the EUID for a search result record. |
void |
setObject(ObjectNode objectNode)
Sets the result row (ObjectNode) for a search result record. |
java.lang.String |
toString()
Retrieves the EUID and comparison score (the matching probability weight) for a search result record. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Constructor Detail |
public EOSearchResultRecord()
public EOSearchResultRecord(float comparisonScore,
java.lang.String euid,
ObjectNode resultRow)
comparisonScore - The matching probability weight between a
search result record and the search criteria.euid - The EUID of a search result record.resultRow - The object node of a search result record.| Method Detail |
public int compareTo(java.lang.Object obj)
obj - retrieved object
public float getComparisonScore()
public java.lang.String getEUID()
public ObjectNode getObject()
ObjectNode - The specified fields in the
given object.
public void setComparisonScore(float comparisonScore)
comparisonScore - The matching probability weight for the
record.
void - None.
public void setEUID(java.lang.String val)
val - The EUID of the record.
void - None.
public void setObject(ObjectNode objectNode)
objectNode - The result row of the record.
void - None.
public java.lang.String toString()
string - A string representation of the EUID and
the comparison weight.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Sun Microsystems, Inc.