Interface DataRecord

    • Method Detail

      • setFields

        DataRecord setFields​(List<SweField> fields)
        Parameters:
        fields - the fields to set
        Returns:
        this
      • addField

        DataRecord addField​(SweField field)
        Adds field to field list
        Parameters:
        field - Field to add
        Returns:
        this
      • isSetFields

        boolean isSetFields()
        Check if there are field elements
        Returns:
        Fields not empty
      • getFieldIndexByIdentifier

        int getFieldIndexByIdentifier​(String fieldNameOrElementDefinition)
        Return the index of the first field with the given fieldNameOrElementDefinition or -1 if not found.
        Parameters:
        fieldNameOrElementDefinition - a definition identifying a SweField in this DataRecord.
        Returns:
        the index of the first field with the given fieldDefinition or -1 if not found.
      • existsFieldForIdentifier

        boolean existsFieldForIdentifier​(String fieldNameOrElementDefinition)