Interface FieldBaseStructureDefinition

All Superinterfaces:
StructureDefinition
All Known Implementing Classes:
ClassStructureDefinition, SimpleStructureDefinition

@Internal public interface FieldBaseStructureDefinition extends StructureDefinition
Represents a structure definition based on fields
  • Method Details

    • getFieldSize

      int getFieldSize()
      Obtains the number of fields that this structure has
      Returns:
      the number of fields that this structure has
    • getFieldNameAt

      String getFieldNameAt(int index)
      Obtains the name of the field in the index position
      Parameters:
      index - the position of the field
      Returns:
      the name of the field
    • getFieldTypeAt

      Class<?> getFieldTypeAt(int index)
      Obtains the type of the field in the index position
      Parameters:
      index - the position of the field
      Returns:
      the type of the field