Interface SchemaObject

    • Method Detail

      • setConfiguration

        void setConfiguration​(DDLGenConfiguration config)
        Set configuration of the schema object.
        Parameters:
        config - Configuration to be used by the schema object.
      • getConfiguration

        DDLGenConfiguration getConfiguration()
        Get configuration of the schema object.
        Returns:
        Configuration of the schema object.
      • setName

        void setName​(java.lang.String name)
        Set name of the schema object.
        Parameters:
        name - Name of the schema object.
      • getName

        java.lang.String getName()
        Get name of the schema object.
        Returns:
        Name of the schema object.
      • toCreateDDL

        void toCreateDDL​(DDLWriter writer)
                  throws GeneratorException
        Build create script for the schema object.
        Parameters:
        writer - DDLWriter to write schema objects to.
        Throws:
        GeneratorException - If generation of the script failed or is not supported.
      • toDropDDL

        void toDropDDL​(DDLWriter writer)
                throws GeneratorException
        Build drop script for the schema object.
        Parameters:
        writer - DDLWriter to write schema objects to.
        Throws:
        GeneratorException - If generation of the script failed or is not supported.