Class DataFile

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    CSVFile

    public class DataFile
    extends DataStore
    OM type DataFile
    See Also:
    Serialized Form
    • Constructor Detail

      • DataFile

        public DataFile()
    • Method Detail

      • getFileType

        public java.lang.String getFileType()
        Gets file type
        Returns:
        type
      • getSchema

        public SchemaType getSchema()
        Gets the file schema
        Returns:
        file schema
      • getColumns

        public java.util.List<Attribute> getColumns()
        Gets the file columns
        Returns:
        columns
      • getNetworkAddress

        public java.lang.String getNetworkAddress()
        Gets the network address
        Returns:
        columns
      • getProtocol

        public java.lang.String getProtocol()
        Get an Endpoint protocol
        Returns:
        network address
      • getIncomplete

        public boolean getIncomplete()
        Return if the file is incomplete
        Returns:
        if the file is incomplete
      • setFileType

        public void setFileType​(java.lang.String fileType)
        Sets the file type
        Parameters:
        fileType - type
      • setSchema

        public void setSchema​(SchemaType schema)
        Sets the file schema
        Parameters:
        schema - schema
      • setColumns

        public void setColumns​(java.util.List<Attribute> columns)
        Sets the file columns
        Parameters:
        columns - columns
      • setNetworkAddress

        public void setNetworkAddress​(java.lang.String networkAddress)
        Sets the network address. Needed to create Endpoint, which in turn is internally generated along with Connection, not provided by user
        Parameters:
        networkAddress - network address
      • setProtocol

        public void setProtocol​(java.lang.String protocol)
        Sets the protocol. Needed to create Endpoint, which in turn is internally generated along with Connection, not provided by user
        Parameters:
        protocol - protocol
      • setIncomplete

        public void setIncomplete​(boolean incomplete)
        Sets up if the file is incomplete
        Parameters:
        incomplete - if the file is incomplete
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class DataStore
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
        Overrides:
        canEqual in class DataStore
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class DataStore