public class AiNameWeightedVariants extends Object
Constructor and Description |
---|
AiNameWeightedVariants() |
AiNameWeightedVariants(List<AiNameWeighted> names,
String comments)
Initializes a new instance of the AiNameWeightedVariants
|
Modifier and Type | Method and Description |
---|---|
AiNameWeightedVariants |
addNamesItem(AiNameWeighted namesItem)
Add an item to names and return this.
|
AiNameWeightedVariants |
comments(String comments)
Set comments and return this.
|
boolean |
equals(Object o) |
String |
getComments()
Usually empty; can contain extra message describing some issue occurred during processing
|
List<AiNameWeighted> |
getNames()
List of name variations
|
int |
hashCode() |
AiNameWeightedVariants |
names(List<AiNameWeighted> names)
Set names and return this.
|
void |
setComments(String comments)
Set comments.
|
void |
setNames(List<AiNameWeighted> names)
Set names.
|
String |
toString() |
public AiNameWeightedVariants()
public AiNameWeightedVariants(List<AiNameWeighted> names, String comments)
names
- List of name variationscomments
- Usually empty; can contain extra message describing some issue occurred during processingpublic AiNameWeightedVariants names(List<AiNameWeighted> names)
names
- List of name variationspublic AiNameWeightedVariants addNamesItem(AiNameWeighted namesItem)
namesItem
- An item of: List of name variationspublic List<AiNameWeighted> getNames()
public void setNames(List<AiNameWeighted> names)
names
- List of name variationspublic AiNameWeightedVariants comments(String comments)
comments
- Usually empty; can contain extra message describing some issue occurred during processingpublic String getComments()
public void setComments(String comments)
comments
- Usually empty; can contain extra message describing some issue occurred during processingCopyright © 2020. All rights reserved.