Class SourceObject


  • public class SourceObject
    extends Object
    Instantiate the fields required to retrieve SourceCode.
    Author:
    sturton
    • Method Detail

      • getSchema

        public String getSchema()
        Returns:
        the schema
      • setSchema

        public void setSchema​(String schema)
        Parameters:
        schema - the schema to set
      • getName

        public String getName()
        Returns:
        the name
      • setName

        public void setName​(String name)
        Parameters:
        name - the name to set
      • getType

        public String getType()
        Returns:
        the type
      • setType

        public void setType​(String type)
        Parameters:
        type - the type to set
      • getRevision

        public String getRevision()
        Returns:
        the revision
      • setRevision

        public void setRevision​(String revision)
        Parameters:
        revision - the revision to set
      • getSuffixFromType

        public String getSuffixFromType()
        Map the type to a file suffix associated with a Language
        Returns:
        inferred suffix
      • getPseudoFileName

        public String getPseudoFileName()
        Gets the data source as a pseudo file name (faux-file). Adding a suffix matching the source object type ensures that the appropriate language parser is used.