# Interface DataFile

All Known Implementing Classes:
  `DefaultDataFile`

@UML(identifier="MX_DataFile", specification=ISO_19139) public interface DataFile
Description of a transfer data file.

Since:
  2.3

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Collection<? extends LocalName>`
  `getFeatureTypes()`
  Provides the list of feature types concerned by the transfer data file.
  `Format`
  `getFileFormat()`
  Defines the format of the transfer data file.

- ## Method Details

  - ### getFeatureTypes

    @UML(identifier="featureType", obligation=OPTIONAL, specification=ISO_19139) Collection<? extends LocalName> getFeatureTypes()
    Provides the list of feature types concerned by the transfer data file. Depending on the transfer choices, a data file may contain data related to one or many feature types. This attribute may be omitted when the dataset is composed of a single file and/or the data does not relate to a feature catalogue.
    Returns:
      List of features types concerned by the transfer data file.

  - ### getFileFormat

    @UML(identifier="fileFormat", obligation=MANDATORY, specification=ISO_19139) Format getFileFormat()
    Defines the format of the transfer data file.
    Returns:
      Format of the transfer data file.