Interface DataRecord

    • Method Detail

      • getId

        String getId()
        Returns the data record id. This id is unique within the RecordSet from witch this DataRecord has been extracted. This id is null when the DataRecord has been built from a RecordTemplate but not yet inserted in a recordTemplate.
      • setId

        void setId​(String externalId)
        Gives an id to the data record. This id must be set before the record is inserted in a RecordSet.
      • isNew

        boolean isNew()
        Return true if this record has not been inserted in a RecordSet.
      • getField

        Field getField​(String fieldName,
                       int occurrence)
      • getField

        Field getField​(int fieldIndex)
                throws FormException
        Returns the field at the index position in the record.
        Throws:
        FormException - when the fieldIndex is unknown.
      • getFieldNames

        String[] getFieldNames()
      • getLanguage

        String getLanguage()
      • setLanguage

        void setLanguage​(String language)