001    package railo.runtime.lock;
002    
003    import railo.commons.lock.Lock;
004    
005    
006    /**
007     * lock data
008     */
009    public interface LockData {
010        /**
011         * is type of token read only
012         * @return is read only
013         * @deprecated 
014         */
015        boolean isReadOnly();
016    
017        /**
018         * @return Returns the id.
019         */
020        int getId();
021    
022        /**
023         * @return Returns the name.
024         */
025        String getName();
026        
027        public Lock getLock();
028    }