BA - The type representing the base author. This class contains relevant data
about an author whose identity needs to be matched with potential candidates.EA - The type representing the enriching author. This class contains relevant data
about author who is potential match for the base author.public class AuthorMatch<BA,EA> extends Object implements Serializable
This class is designed to facilitate the comparison and potential matching of a base author (UA) with one of many enriching authors (CA). It provides a structured way to store and process author matching data.
| Constructor and Description |
|---|
AuthorMatch() |
AuthorMatch(BA baseAuthor,
EA enrichingAuthor,
String stepName,
double confidence)
Constructs an AuthorMatch object with specified base author, enriching author, step name, and confidence score.
|
| Modifier and Type | Method and Description |
|---|---|
BA |
getBaseAuthor()
Gets the base author.
|
double |
getConfidence()
Gets the confidence score of the match.
|
EA |
getEnrichingAuthor()
Gets the enriching author.
|
String |
getStepName()
Gets the step name of the match.
|
static <UA,CA> AuthorMatch<UA,CA> |
of(UA baseAuthor,
CA enrichingAuthor,
double confidence) |
void |
setBaseAuthor(BA baseAuthor) |
void |
setConfidence(double confidence) |
void |
setEnrichingAuthor(EA enrichingAuthor) |
void |
setStepName(String stepName) |
String |
toString()
Returns a string representation of the AuthorMatch object.
|
AuthorMatch<BA,EA> |
withStepName(String stepName)
Creates a new AuthorMatch instance with a modified step name.
|
public AuthorMatch()
public AuthorMatch(BA baseAuthor, EA enrichingAuthor, String stepName, double confidence)
baseAuthor - The base authorenrichingAuthor - The enriching authorstepName - The step in which this match occurredconfidence - The confidence score of the matchpublic AuthorMatch<BA,EA> withStepName(String stepName)
stepName - The new step namepublic static <UA,CA> AuthorMatch<UA,CA> of(UA baseAuthor, CA enrichingAuthor, double confidence)
public BA getBaseAuthor()
public void setBaseAuthor(BA baseAuthor)
public EA getEnrichingAuthor()
public void setEnrichingAuthor(EA enrichingAuthor)
public String getStepName()
public void setStepName(String stepName)
public double getConfidence()
public void setConfidence(double confidence)
Copyright © 2026. All Rights Reserved.