001    package railo.runtime.db;
002    
003    /**
004     * represent a SQL Statment
005     */
006    public interface SQL {
007    
008        /**
009         * @return Returns the items.
010         */
011        public abstract SQLItem[] getItems();
012    
013        /**
014         * @return Returns the position.
015         */
016        public abstract int getPosition();
017    
018        /**
019         * @param position The position to set.
020         */
021        public abstract void setPosition(int position);
022    
023        /**
024         * @return returns the pure SQL String
025         */
026        public abstract String getSQLString();
027    
028        /**
029         * @param strSQL sets the SQL String
030         */
031        public abstract void setSQLString(String strSQL);
032    
033        /**
034         * @return returns Unique String for Hash
035         */
036        public abstract String toHashString();
037    
038    }