public static class Synonym.Builder
extends java.lang.Object
Constructor and Description |
---|
Synonym.Builder()
Instantiates a new builder.
|
Synonym.Builder(java.lang.String synonym)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Synonym |
build()
Builds a Synonym.
|
Synonym.Builder |
created(java.util.Date created)
Set the created.
|
Synonym.Builder |
synonym(java.lang.String synonym)
Set the synonym.
|
Synonym.Builder |
updated(java.util.Date updated)
Set the updated.
|
public Synonym.Builder()
public Synonym.Builder(java.lang.String synonym)
synonym
- the synonympublic Synonym build()
public Synonym.Builder synonym(java.lang.String synonym)
synonym
- the synonympublic Synonym.Builder created(java.util.Date created)
created
- the createdpublic Synonym.Builder updated(java.util.Date updated)
updated
- the updated