public static class DictonaryEntry.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
public DictonaryEntry build()
public DictonaryEntry.Builder addChildren(String children)
children
- the new childrenpublic DictonaryEntry.Builder addDefinition(String definition)
definition
- the new definitionpublic DictonaryEntry.Builder addParents(String parents)
parents
- the new parentspublic DictonaryEntry.Builder addSemtypes(String semtypes)
semtypes
- the new semtypespublic DictonaryEntry.Builder addSiblings(String siblings)
siblings
- the new siblingspublic DictonaryEntry.Builder addSurfaceForms(String surfaceForms)
surfaceForms
- the new surfaceFormspublic DictonaryEntry.Builder addVariants(String variants)
variants
- the new variantspublic DictonaryEntry.Builder addRelated(String related)
related
- the new relatedpublic DictonaryEntry.Builder children(List<String> children)
children
- the childrenpublic DictonaryEntry.Builder cui(String cui)
cui
- the cuipublic DictonaryEntry.Builder definition(List<String> definition)
definition
- the definitionpublic DictonaryEntry.Builder parents(List<String> parents)
parents
- the parentspublic DictonaryEntry.Builder preferredName(String preferredName)
preferredName
- the preferredNamepublic DictonaryEntry.Builder semtypes(List<String> semtypes)
semtypes
- the semtypespublic DictonaryEntry.Builder siblings(List<String> siblings)
siblings
- the siblingspublic DictonaryEntry.Builder surfaceForms(List<String> surfaceForms)
surfaceForms
- the surfaceFormspublic DictonaryEntry.Builder variants(List<String> variants)
variants
- the variantspublic DictonaryEntry.Builder vocab(String vocab)
vocab
- the vocabpublic DictonaryEntry.Builder related(List<String> related)
related
- the relatedpublic DictonaryEntry.Builder source(String source)
source
- the sourcepublic DictonaryEntry.Builder sourceVersion(String sourceVersion)
sourceVersion
- the sourceVersionCopyright © 2021 IBM Cloud. All rights reserved.