| Modifier and Type | Method and Description |
|---|---|
DslEntityBuilder |
addManyFields(String fieldName,
DslEntity entity)
Adds a new multi field defined by an entity.
|
DslEntityBuilder |
addManyFields(String fieldName,
DslEntityLink entityLink)
Adds a new multi field defined by an entity.
|
DslEntityBuilder |
addOptionalField(String fieldName,
DslEntityFieldType type)
Adds a new simple OPTIONAL field.
|
DslEntityBuilder |
addRequiredField(String fieldName,
DslEntityFieldType type)
Adds a new simple REQUIRED field.
|
DslEntity |
build() |
DslEntityBuilder |
withProvided()
Set this entity as core and managed specificaly.
|
public DslEntityBuilder withProvided()
public DslEntityBuilder addRequiredField(String fieldName, DslEntityFieldType type)
fieldName - the name of the fieldtype - the type of the fieldpublic DslEntityBuilder addOptionalField(String fieldName, DslEntityFieldType type)
fieldName - the name of the fieldtype - the type of the fieldpublic DslEntityBuilder addManyFields(String fieldName, DslEntity entity)
fieldName - the name of the fieldentity - Type of the fieldpublic DslEntityBuilder addManyFields(String fieldName, DslEntityLink entityLink)
fieldName - the name of the fieldentityLink - Type of the fieldCopyright © 2019. All Rights Reserved.