Class AdapterScript

    • Constructor Detail

      • AdapterScript

        public AdapterScript​(DatabaseObjectWriter writer,
                             Schema parentSchema,
                             String name,
                             AdapterScript.Language language,
                             String content)
        Create a new instance of an AdapterScript.
        Parameters:
        writer - database object writer
        parentSchema - parent schema
        name - name of the adapter script
        language - language the the script is implemented in
        content - the actual script
    • Method Detail

      • getType

        public String getType()
        Description copied from interface: DatabaseObject
        Get the type of the database object.
        Returns:
        type of the database object
      • hasParent

        public boolean hasParent()
        Description copied from interface: DatabaseObject
        Check if this object has a parent object that sets the scope within the database
        Returns:
        true if the object has a parent
      • getParent

        public DatabaseObject getParent()
        Description copied from interface: DatabaseObject
        Get the parent object.
        Returns:
        parent object
      • getLanguage

        public AdapterScript.Language getLanguage()
        Get the implementation language.
        Returns:
        language in which the adapter script is implemented
      • getContent

        public String getContent()
        Get the actual script content.
        Returns:
        script content