|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.master.MatchResult
The MatchResult class contains the return values for a call to any of the "executeMatch" methods (that is, executeMatch, executeMatchUpdate, executeMatchDupRecalc, executeMatchUpdateDupRecalc, or executeMatchGui). The return values indicate whether a new enterprise object was created, an assumed match was made, or a matching local ID and system was found in the database.
Field Summary | |
static int |
ADD_NOT_ALLOWED
No matching record was found in the database, but custom processing logic for disallowAdd() is set to true. |
static int |
ASSUMED_MATCH
The system code / lid was not found in the database. |
static int |
NEW_EO
A new enterprise object was created |
static int |
SYS_ID_MATCH
The system code / lid was found in the database and the record updated |
static int |
UPDATE_NOT_ALLOWED
A matching record was found in the database, but custom processing logic for disallowUpdate() is set to true. |
static int |
UPDATE_REJECTED
The system code / lid was found in the database, but custom processing logic for rejectAssumedMatch() is set to true. |
static int |
version
|
Constructor Summary | |
MatchResult()
Creates a new instance of the MatchResult class. |
|
MatchResult(java.lang.String euid,
int resultCode,
java.lang.String transNo,
PotentialDuplicate[] potentialDuplicates)
Creates a new instance of the MatchResult class. |
|
MatchResult(java.lang.String euid,
int resultCode,
java.lang.String transNo,
PotentialDuplicate[] potentialDuplicates,
java.lang.Boolean matchFieldChanged)
Creates a new instance of the MatchResult class that indicates whether a match field was updated as a result of the match process. |
Method Summary | |
java.lang.String |
getEUID()
Retrieves the EUID in a MatchResult object. |
boolean |
getMatchFieldChanged()
Retrieves an indicator of whether a match field was updated during the match process. |
PotentialDuplicate[] |
getPotentialDuplicates()
Retrieves an array of the potential duplicates (class PotentialDuplidate) in a MatchResult object. |
int |
getResultCode()
Retrieves the result code in a MatchResult object. |
java.lang.String |
getTransactionNumber()
Retrieves the transaction number in a MatchResult object. |
void |
readExternal(java.io.ObjectInput in)
|
java.lang.String |
toString()
Displays a String representation of the match result object. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ADD_NOT_ALLOWED
public static final int ASSUMED_MATCH
public static final int NEW_EO
public static final int SYS_ID_MATCH
public static final int UPDATE_NOT_ALLOWED
public static final int UPDATE_REJECTED
public static int version
Constructor Detail |
public MatchResult()
public MatchResult(java.lang.String euid, int resultCode, java.lang.String transNo, PotentialDuplicate[] potentialDuplicates)
euid
- The EUID of the record that was created or updated.resultCode
- The result code, which indicates how the records
were processed.transNo
- The transaction number generated by the call to
the execute match method.potentialDuplicates
- An array of potential duplicates created
by processing the call to the execute match method.
public MatchResult(java.lang.String euid, int resultCode, java.lang.String transNo, PotentialDuplicate[] potentialDuplicates, java.lang.Boolean matchFieldChanged)
euid
- The EUID of the record that was created or updated.resultCode
- The result code, which indicates how the records
were processed.transNo
- The transaction number generated by the call to
the execute match method.potentialDuplicates
- An array of potential duplicates created
by processing the call to the execute match method.matchFieldChanged
- A Boolean indicator of whether a match field
was changed during the match process. True indicates a match
field has changed; false indicates a match field did not change.
Method Detail |
public java.lang.String getEUID()
String
- The EUID of the record modified or
created during the transaction.
public boolean getMatchFieldChanged()
Boolean
- Boolean indicator of whether a match
field was changed during the match process. True indicates a
match field has changed; false indicates a match field did not
change.
public PotentialDuplicate[] getPotentialDuplicates()
PotentialDuplicate[]
- An array list of potential
duplicates created during the transaction, or null if none were created.
public int getResultCode()
in
- The result code indicating how the record was
processed.
public java.lang.String getTransactionNumber()
String
- A transaction number.
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public java.lang.String toString()
String
- A string representation of the match result
object.
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.