public class FieldDefinition extends Object
Definition
.
It encapsulates information about the field's unique identifier, name, description, duplicability, and required state.Modifier and Type | Class and Description |
---|---|
static class |
FieldDefinition.Configuration
The Configuration class represents the configuration associated with a specific field definition.
|
Modifier and Type | Field and Description |
---|---|
FieldDefinition.Configuration |
configuration |
Constructor and Description |
---|
FieldDefinition() |
Modifier and Type | Method and Description |
---|---|
FieldDefinition.Configuration |
getConfiguration()
Retrieves the configuration associated with this field definition.
|
String |
getDescription()
Retrieves the description of the field definition.
|
List<FieldDefinition> |
getFields()
Retrieves the list of child field definitions associated with this field definition.
|
Integer |
getId()
Retrieves the unique identifier of the field definition.
|
String |
getName()
Retrieves the name of the field definition.
|
boolean |
isDuplicable()
Retrieves the duplicability state of the field definition.
|
boolean |
isRequired()
Checks if the field definition is required.
|
boolean |
isRootField() |
String |
toString() |
public FieldDefinition.Configuration configuration
public FieldDefinition.Configuration getConfiguration()
FieldDefinition.Configuration
object representing the configuration of the field definition.public String getDescription()
String
representing the description of the field definition.public List<FieldDefinition> getFields()
Collection
of FieldDefinition
objects representing the child field definitions.public Integer getId()
Integer
representing the unique identifier of the field definition.public String getName()
String
representing the name of the field definition.public boolean isDuplicable()
boolean
indicating whether the field is duplicable.public boolean isRequired()
true
if the field is required (mandatory), or false
otherwise.public boolean isRootField()
Copyright © 2021 Cult Of Bits, lda