public class AiNameParsedMatchRq extends AiNameParsedRq
Constructor and Description |
---|
AiNameParsedMatchRq() |
AiNameParsedMatchRq(AiNameCulturalContext culturalContext,
String format,
List<AiNameComponent> parsedName,
List<AiNameComponent> otherParsedName)
Initializes a new instance of the AiNameParsedMatchRq
|
Modifier and Type | Method and Description |
---|---|
AiNameParsedMatchRq |
addOtherParsedNameItem(AiNameComponent otherParsedNameItem) |
boolean |
equals(Object o) |
List<AiNameComponent> |
getOtherParsedName()
Other parsed name to match
|
int |
hashCode() |
AiNameParsedMatchRq |
otherParsedName(List<AiNameComponent> otherParsedName) |
void |
setOtherParsedName(List<AiNameComponent> otherParsedName) |
String |
toString() |
addParsedNameItem, culturalContext, format, getCulturalContext, getFormat, getParsedName, parsedName, setCulturalContext, setFormat, setParsedName
public AiNameParsedMatchRq()
public AiNameParsedMatchRq(AiNameCulturalContext culturalContext, String format, List<AiNameComponent> parsedName, List<AiNameComponent> otherParsedName)
culturalContext
- AiName parser cultural contextformat
- Format of the name. Predefined format can be used by ID, or custom format can be specified. Predefined formats: /format/default/ (= '%t%F%m%N%L%p') /format/FN+LN/ (= '%F%L') /format/title+FN+LN/ (= '%t%F%L') /format/FN+MN+LN/ (= '%F%M%N%L') /format/title+FN+MN+LN/ (= '%t%F%M%N%L') /format/FN+MI+LN/ (= '%F%m%N%L') /format/title+FN+MI+LN/ (= '%t%F%m%N%L') /format/LN/ (= '%L') /format/title+LN/ (= '%t%L') /format/LN+FN+MN/ (= '%L,%F%M%N') /format/LN+title+FN+MN/ (= '%L,%t%F%M%N') /format/LN+FN+MI/ (= '%L,%F%m%N') /format/LN+title+FN+MI/ (= '%L,%t%F%m%N') Custom format string - custom combination of characters and the next term placeholders: '%t' - Title (prefix) '%F' - First name '%f' - First initial '%M' - Middle name(s) '%m' - Middle initial(s) '%N' - Nickname '%L' - Last name '%l' - Last initial '%p' - Postfix If no value for format option was provided, its default value is '%t%F%m%N%L%p'parsedName
- Parsed nameotherParsedName
- Other parsed name to matchpublic AiNameParsedMatchRq otherParsedName(List<AiNameComponent> otherParsedName)
public AiNameParsedMatchRq addOtherParsedNameItem(AiNameComponent otherParsedNameItem)
public List<AiNameComponent> getOtherParsedName()
public void setOtherParsedName(List<AiNameComponent> otherParsedName)
public boolean equals(Object o)
equals
in class AiNameParsedRq
public int hashCode()
hashCode
in class AiNameParsedRq
public String toString()
toString
in class AiNameParsedRq
Copyright © 2020. All rights reserved.