Class SQLObject

    • Field Detail

    • Constructor Detail

      • SQLObject

        protected SQLObject()
        Instantiates a new SQLObject.
      • SQLObject

        protected SQLObject​(String name)
        Instantiates a new SQLObject.
        Parameters:
        name - the name of the object
    • Method Detail

      • create

        public Create create()
        Creates a new Create statement setting the object to be created as this object.
        Returns:
        the create statement
      • drop

        public Drop drop()
        Creates a new Drop statement setting the object to be created as this object.
        Returns:
        the drop statement
      • getKeyword

        public abstract String getKeyword()
        Gets the SQL Keyword associated with the object
        Returns:
        the SQL keyword
      • getName

        public final String getName()
        Gets the name of object.
        Specified by:
        getName in interface NamedSQLElement
        Returns:
        the name pf the object