| Constructor and Description |
|---|
EntityModelBuilder(String name)
Creates a new
EntityModel instance. |
| Modifier and Type | Method and Description |
|---|---|
EntityModelBuilder |
addType(Type<?> type)
Adds a
Type instance to the model. |
EntityModel |
build() |
public EntityModelBuilder(String name)
EntityModel instance.name - of the modelpublic EntityModelBuilder addType(Type<?> type)
Type instance to the model.type - type to addpublic EntityModel build()
EntityModel instance with the defined types.