Class SourceFile

  • All Implemented Interfaces:
    DataModelSource

    public final class SourceFile
    extends java.lang.Object
    implements DataModelSource
    Specifies the configuration to create a data model source from a file.
    Since:
    2.6.2
    • Constructor Summary

      Constructors 
      Constructor Description
      SourceFile​(java.lang.String name, java.io.File inputFile)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File getInputFile()
      Returns the specified file used for generating the data model.
      java.lang.String getName()
      Returns the data model source name.
      java.util.Set<java.lang.String> getXMLTablePaths()
      Returns the table's paths when generating the data model from an XML file.
      void setXMLTablePaths​(java.util.Set<java.lang.String> xmlTablePaths)
      Sets the table's paths when generating the data model from an XML file.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SourceFile

        public SourceFile​(java.lang.String name,
                          java.io.File inputFile)
    • Method Detail

      • getInputFile

        public java.io.File getInputFile()
        Returns the specified file used for generating the data model.
      • getXMLTablePaths

        public java.util.Set<java.lang.String> getXMLTablePaths()
        Returns the table's paths when generating the data model from an XML file.
      • setXMLTablePaths

        public void setXMLTablePaths​(java.util.Set<java.lang.String> xmlTablePaths)
        Sets the table's paths when generating the data model from an XML file.
      • getName

        public java.lang.String getName()
        Returns the data model source name. If the data model configuration is saved to the Dynamic data modeling dataset, this value is applied to the 'Name' field in the 'Data model' table.
        Specified by:
        getName in interface DataModelSource