public class AiNameComponent extends Object
Constructor and Description |
---|
AiNameComponent() |
AiNameComponent(String value,
String category,
Double score,
Integer position)
Initializes a new instance of the AiNameComponent
|
Modifier and Type | Method and Description |
---|---|
AiNameComponent |
category(String category)
Set category and return this.
|
boolean |
equals(Object o) |
String |
getCategory()
Name component category.
|
Integer |
getPosition()
Component position from 0
|
Double |
getScore()
Score from 0.0 to 1.0
|
String |
getValue()
Component value
|
int |
hashCode() |
AiNameComponent |
position(Integer position)
Set position and return this.
|
AiNameComponent |
score(Double score)
Set score and return this.
|
void |
setCategory(String category)
Set category.
|
void |
setPosition(Integer position)
Set position.
|
void |
setScore(Double score)
Set score.
|
void |
setValue(String value)
Set value.
|
String |
toString() |
AiNameComponent |
value(String value)
Set value and return this.
|
public AiNameComponent()
public AiNameComponent(String value, String category, Double score, Integer position)
value
- Component valuecategory
- Name component category. Enum, available values: Unknown, Mononym, Score, Format, FirstInitial, FirstName, MiddleInitial, MiddleName, MiddleNickname, MiddleSobriquet, MiddleMaidenName, MiddlePatronym, MiddleMatronym, LastInitial, LastName, LastNobiliaryParticle, LastNominalConjunction, LastPaternalSurname, LastMaternalSurname, PrefixTitle, PostfixGenerationalTitle, PostfixPostnominalLetters, ArabicIsm, ArabicKunya, ArabicNasab, ArabicSlaqab, ArabicNisbahscore
- Score from 0.0 to 1.0position
- Component position from 0public AiNameComponent value(String value)
value
- Component valuepublic String getValue()
public void setValue(String value)
value
- Component valuepublic AiNameComponent category(String category)
category
- Name component category. Enum, available values: Unknown, Mononym, Score, Format, FirstInitial, FirstName, MiddleInitial, MiddleName, MiddleNickname, MiddleSobriquet, MiddleMaidenName, MiddlePatronym, MiddleMatronym, LastInitial, LastName, LastNobiliaryParticle, LastNominalConjunction, LastPaternalSurname, LastMaternalSurname, PrefixTitle, PostfixGenerationalTitle, PostfixPostnominalLetters, ArabicIsm, ArabicKunya, ArabicNasab, ArabicSlaqab, ArabicNisbahpublic String getCategory()
public void setCategory(String category)
category
- Name component category. Enum, available values: Unknown, Mononym, Score, Format, FirstInitial, FirstName, MiddleInitial, MiddleName, MiddleNickname, MiddleSobriquet, MiddleMaidenName, MiddlePatronym, MiddleMatronym, LastInitial, LastName, LastNobiliaryParticle, LastNominalConjunction, LastPaternalSurname, LastMaternalSurname, PrefixTitle, PostfixGenerationalTitle, PostfixPostnominalLetters, ArabicIsm, ArabicKunya, ArabicNasab, ArabicSlaqab, ArabicNisbahpublic AiNameComponent score(Double score)
score
- Score from 0.0 to 1.0public Double getScore()
public void setScore(Double score)
score
- Score from 0.0 to 1.0public AiNameComponent position(Integer position)
position
- Component position from 0public Integer getPosition()
public void setPosition(Integer position)
position
- Component position from 0Copyright © 2020. All rights reserved.